Welcome Guest, Not a member yet? Register   Sign In
CI plugin for eclipse
#31

[eluser]Unknown[/eluser]
These post are a great help!

Thanks
:coolsmile:
#32

[eluser]atno[/eluser]
Stefano G's solution is working great for me.

Thanks a lot
atno
#33

[eluser]billmce[/eluser]
If you're having trouble getting this technique to work you probably have to upgrade your version of Eclipse.

Help -> Check for Updates.

It solved my problem with the configuration.
#34

[eluser]dreamer111[/eluser]
I'm using eclipse 3.5 Galileo.

To make autocomplete to work I've just added my full Codeigniter project as "new php project" without having to separate it into CI_APP and CI_CODE.
Autocomplete is working just fine now.
#35

[eluser]Shiro[/eluser]
[quote author="dreamer111" date="1269204537"]I'm using eclipse 3.5 Galileo.

To make autocomplete to work I've just added my full Codeigniter project as "new php project" without having to separate it into CI_APP and CI_CODE.
Autocomplete is working just fine now.[/quote]

can you show a print screen, how you make it work?
for ur file structure, and elcipse. Thx~
#36

[eluser]dreamer111[/eluser]
[quote author="Shiro" date="1269240503"][quote author="dreamer111" date="1269204537"]I'm using eclipse 3.5 Galileo.

To make autocomplete to work I've just added my full Codeigniter project as "new php project" without having to separate it into CI_APP and CI_CODE.
Autocomplete is working just fine now.[/quote]

can you show a print screen, how you make it work?
for ur file structure, and elcipse. Thx~[/quote]



mmmm. never mind. I guess I didn't test it thoroughly enough.
I've just typed in: "$this->load->vie" and pressed ctrl+space and I was
able to see autocomplete info. However - it didn't work when i've tried
it today with different classes.
Autocomplete worked fine though when I finally separated it under CI_APP and CI_CODE.
#37

[eluser]Unknown[/eluser]
Just so you know, you can do the following in eclipse and it will provide code insight:

Code:
$res = $this->db->get();
if(false){
    $res = new CI_DB_mysql_result();
}

or
Code:
$this->load->model( 'Event_model' );
    if (false){
        $this->Event_model = new Event_model();
    }

the only thing I've found you can't do this for is "$this" since PHP throws an error when trying it.
#38

[eluser]Unknown[/eluser]
For those having problems with Stefano G's recipe for auto-completion; that is, you weren't getting auto-completion. I found that with Eclipse Galileo, auto-completion was simply not activated by default.

I had to do the following:

Windows | Preferences | PHP | Editor | Code Assist | and then check the box "Insert single proposals automatically"

I cannot say anything about previous or upcoming versions of Eclipse however.

I hope this helps.
#39

[eluser]MyDuck[/eluser]
I'm working on eclipse galileo. Auto-completion work when I type $this->vi but don't work when I type $this->load->vi. Can somebody help me?

Thnx.
#40

[eluser]MyDuck[/eluser]
This is the best way to enable auto-complete on eclipse galileo:

http://abiola89.blogspot.com/2010/07/usi...te-in.html




Theme © iAndrew 2016 - Forum software by © MyBB