Netbeans 7.0 (final) autocomplete for CI 2.0 |
[eluser]REK[/eluser]
I was able get autocomplete to work correctly within Netbeans 7.0 (final). Instructions: 1. Create a new directory inside nbproject (I used this since it's omitted when pushing to prod) with your name of choice, I used "CI_Autocomplete". 2. Create a new file with your name of choice, I used "CI_Autocomplete_2.0.php", and place it inside the newly created folder, "nbproject\CI_Autocomplete". 3. Paste the below code inside the new file, "CI_Autocomplete_2.0.php". File content courtesy of http://ellislab.com/forums/viewthread/180079/. Code: <?php 4. Now go to (this is for OSX so not sure if it's the same for Windows) File > Project Properties (projectname) > PHP Include Path and include the new folder you created above, nbproject\CI_Autocomplete. 5. Restart your project and autocomplete "should" work.
[eluser]Dennis Rasmussen[/eluser]
Do people ever search the forums or google before posting? This is godly old news.
[eluser]REK[/eluser]
Part of it is old news. The latest version of Netbeans 7.0 just released and the "godly old news" steps were not exactly the same as in 6.9.
[eluser]atno[/eluser]
My netbeans 7.0 supports autocomplete for CI 2.0 out of the box, i didn't need to change or add anything.
[eluser]atno[/eluser]
[quote author="atno" date="1304455427"]My netbeans 7.0 supports autocomplete for CI 2.0 out of the box, i didn't need to change or add anything.[/quote] nevermind this post ![]()
[eluser]William Rufino[/eluser]
you can add your models to the controllers too.... very useful
[eluser]sarim khan[/eluser]
what kind of autocomplete you guys are getting ? I am using netbeans 7 with codeigniter 2 but not getting so much auto-completion ![]()
[eluser]atno[/eluser]
[quote author="sarim khan" date="1304947861"]what kind of autocomplete you guys are getting ? I am using netbeans 7 with codeigniter 2 but not getting so much auto-completion ![]() if would you care to explain what steps did you take we then might be able to help you. "not getting so much auto-completion" aint much of problem description...
[eluser]sarim khan[/eluser]
[quote author="atno" date="1304963333"] if would you care to explain what steps did you take we then might be able to help you. "not getting so much auto-completion" aint much of problem description...[/quote] I am getting much much autocomplete now, after following this tutorial, but at first i thought that netbeans 7 will support codecomplete out of the box but it wasn't. ![]() Thank you very much REK. ![]() |
Welcome Guest, Not a member yet? Register Sign In |