tags:

views:

10912

answers:

19

I'm learning CodeIgniter and I come from Microsoft Visual Studio so I'm used to the auto complete feature. I've been using notepad++ so far but I wonder if anyone knows an editor that works better with CodeIgniter.

I would love to see features like:

  • Right-click -> Add new model
  • Right-click -> Add new view
  • Autocomplete with CodeIgniter helpers and libraries
+3  A: 

I don't know that you'll find an editor so tuned to CI's particular version of MVC -- but Eclipse/PDT can handle the autocompletion.

See the discussion at codeigniter.com/forums/viewthread/69098/

Paul Roub
+6  A: 

CodeIgniter IDE

Once you start to 'get' the Code Igniter coding style, it becomes easy to manage your projects without a large scale IDE.

I used eclipse for a while but kept going back to Notepad++ as I didn't require the additional functionality.

Add new file

To get around the model and view issue you mention, you can always create basic model/view templates, so that the creating of new ones isn't much more than ctrl+v and ctrl+c?

Jon Winstanley
+1 I really like Notepad++ as well
01010011
+1  A: 

I would like to suggest this one : Intype.info ( It has CodeIgniter Bundle for such auto completion feature). If you are willing to pay then you can go for PHPDesigner; You can define the framework on which you are developing the project, by which it can provide Auto-suggestion.

+11  A: 

Hi,

I was in .NET before going to Codeigniter, I try several IDEs, I recommend netbeans, very ver good, and you can create regions, find usages, and other functionalities from the Visual Studio IDE.

Regards, Pedro

Pedro
+1 - I use netbeans as well. Another good feature is the ability to debug via xdebug, although it is a bit painful to configure everything.
Justin Ethier
J.E. is right on all counts. Lately I have had a strange behavior where NetBeans/Xdebug stops displaying run-time values at precisely the point where most needed -- where the code is halting. I am very curious about that. To be sure, it was deep in the middle of CodeIgniter soup.
Smandoli
+1 for teaching me that netbeans can be used this way
lock
+2  A: 

I would suggest using Espresso. It has Sugars which you can use to extend the syntax highlighting and has one for CodeIgniter.

http://www.fileability.net/coffee/sugar/CodeIgniter

With Espresso, you can also set up keyboard shortcuts, which I've done for a default controller, model, view, etc. It really helps code much faster and with standard code.

wiebersk
+2  A: 

I tried quite a few and got stuck on PhpED from Nusphere. I can really recommend it.

Casper
A: 

well i use komodo edit...its good..its not an IDE but a good editor

bluepicaso
+1  A: 

see Free PHP IDE Codelobster PHP Edition

with special CodeIgniter plug-in

A: 

Personal preference is simply to run VIM with tabs open for each of my files I'm working on.
I know there are Intellisense plugins that you can run as well, though I don't know of any specific to CodeIgniter.

espais
+3  A: 

Aptana Studio with the PHP plugin. Autocompletion, quick, easy to navigate.

Mark Kadlec
+1  A: 

If you are on a Mac, Coda is a fantastic editor in general. It might not have all the bells-and-whistles for CodeIgniter development but makes you feel like coding more and more...at least to me. ++ for the seamless integration with Transmission.

A: 

Another good code editor on mac is textmate, very flexible and also has a codeigniter bundle (and tons of bundles for other libraries) that helps you add in classes , auto completion. It is also visually beautiful with its color themes of the IDE (vibrant ink theme). It has become my editor of choice (combine it with FTP app cyberduck to edit files remotely. (or with a simple terminal setup)

Mikelangelo
A: 

I've recently switched to Komodo Edit and created a toolbox for CI. Unfortunately KE doesn't support auto complete for CI but having the CI toolbox helps a lot.

Keith
A: 

I have used NetBeans, it did not give the auto-completion for functions from CI library. seems that there might be an add on for netbeans to overcome this? maybe~

6alabati-Rashid
A: 

Give KOMODO EDIT a try, Its good, really cool and Open sourse. link text

bluepicaso
A: 

I am on a Mac and I can't recommend anything else but Textmate. It rules!

KG
A: 

I have bought Codelobster's CodeIgniter plug-in and i am happy with it. It costs $24.95 only. It provides very good autocomplete. It is the main feature that i need.

Rustik
A: 

Eclipse works great with this done: http://www.gostomski.co.uk/codeigniter/getting-full-auto-complete-with-codeigniter-in-eclipse

Recommended!

Industrial
A: 

My own preference is PSPad. It's free and works well. Notepad++ seemed to have too many bugs and HTML-Kit wasn't updated.

MattB