CI plugin for eclipse |
[eluser]atno[/eluser]
Stefano G's solution is working great for me. Thanks a lot atno
[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.
[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.
[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~
[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.
[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(); or Code: $this->load->model( 'Event_model' ); the only thing I've found you can't do this for is "$this" since PHP throws an error when trying it.
[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.
[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.
[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 |
Welcome Guest, Not a member yet? Register Sign In |