NetBeans Plugin - Second Iteration |
so, this version only does code completion for methods within the same class as far as i can tell..
it would be really nice to have global code completion where you can see the methods of external classes $this->someloadedclass->someextendedmethod->etc... will this be implemented?
guess not.. too bad.
does anyone know of an IDE that is able to have code completion with access to CI's loaded classes and it's methods and vars just like you would have with developing java for instance? it would really make coding with CI a lot more comfertable.
Hi.
My primary IDE for PHP projects is PhpStorm. Despite the fact it doesn't support CodeIgniter libraries' auto-completion out of the box, there is a simple trick to get exactly what you need ![]() You can simply add the docblock section before your class declaration (it can be controller, model, whatever) where you directly set the class of the properties inherited from the CodeIgniter base classes. ![]() In order to simplify things you can create core/MY_Controller.php file (in case you didn't do this before) and set all the properties there. PHP Code: /** Then you just inherit your controllers from MY_Controller and have your auto-completion working. Same thing should be done for Models. Maybe this way is not that perfect, but it is pretty easy and straightforward. Cheers.
Hi!
When I load models in Controller, methods are not auto completed. There is anything I can do about it? Thanks for your effort ![]()
:wq!
Fabio Beneditto - a.k.a. KamiKazeNH "A vida é mais bela quando vista de cima de uma motocicleta" "A hacker does for love what anyone will do for money"
(03-16-2015, 02:26 PM)jlp Wrote: We have just tagged the second iteration of the CodeIgniter3 plugin for NetBeans, version 0.2. i recognize that the current version is for CI3.0. Is there now or has there been a version of this plugin for CI2.x? Certainly would make my life much easier, as I don't have the goahead to change/upgrade my CI installation and apps to use CI3.
OM...
------------------------- And on the pedestal these words appear: 'My name is Ozymandias, king of kings: Look on my works, ye Mighty, and despair!' Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and level sands stretch far away.
(06-18-2015, 08:08 AM)ozzy mandiaz Wrote:(03-16-2015, 02:26 PM)jlp Wrote: We have just tagged the second iteration of the CodeIgniter3 plugin for NetBeans, version 0.2. anything? anybody? hello? cq? cq? This is Crystal Peak? cq? cq?
OM...
------------------------- And on the pedestal these words appear: 'My name is Ozymandias, king of kings: Look on my works, ye Mighty, and despair!' Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and level sands stretch far away.
There are no plans for a version for CI2. There was an earlier half-attempt for that a couple of years ago, but it petered out.
This plugin, for CI3, seems to be stalled - not a lot of interest in refining it ![]()
James Parry
Project Lead
(07-01-2015, 11:23 AM)jlp Wrote: There are no plans for a version for CI2. There was an earlier half-attempt for that a couple of years ago, but it petered out. thanks for the reply. appreciate it very much. OM
OM...
------------------------- And on the pedestal these words appear: 'My name is Ozymandias, king of kings: Look on my works, ye Mighty, and despair!' Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and level sands stretch far away.
Ozzy why not use sublime text with snippets on github, I can't recommend netbeans, anything that requires java is not a good idea
![]() http://www.infoworld.com/article/2613404...-dead.html
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
|
Welcome Guest, Not a member yet? Register Sign In |