What is the best PhP editor

You cant beat Vi on Linux

There is a steep learning curve with Vi, when I first got my hands on it. I never was comfortable enough to use it to the point where it'd be useful (from for example the list of advanced hotkeys here http://www.lagmonster.org/docs/vi2.html)

When you use Vi, do you know how to do everything or do you sometimes have to google how to do some advanced function? It feels weird but for the moment I'd rather even just 'nano' if I had to use a CLI editor in linux.
 
There is a steep learning curve with Vi, when I first got my hands on it. I never was comfortable enough to use it to the point where it'd be useful (from for example the list of advanced hotkeys here http://www.lagmonster.org/docs/vi2.html)

Indeed. One has to take a lot of time to actually use Vim productively, so I believe it 's not a good choice from scratch for an IDE.

I use fanatically PHPStorm. It 's the most advanced out there and suited for projects. It 's not the best choice if you want to edit a file here and there as it 's not designed for that, but there 's nothing close when it comes to projects.

Anyway, I recently revamped my .vimrc because I had to make some edits on files through the console. The mouse is enabled in this set up, so you can use it for easiness.

http://pastebin.com/HrXJWDb0

Save the file as ~/.vimrc

It has php support and most importantly, the <Tab> button has been remapped to work as you 'd expect for autocompletion. Read the comments and you 'll see the rest ofthe improvements.

If colors don't work for you, it means you don't have the same color files installed. In that case, edit the file and replace "inkpot" and/or "elflord" with something you have available (or download them).
 
There is a steep learning curve with Vi, when I first got my hands on it. I never was comfortable enough to use it to the point where it'd be useful (from for example the list of advanced hotkeys here http://www.lagmonster.org/docs/vi2.html)

When you use Vi, do you know how to do everything or do you sometimes have to google how to do some advanced function? It feels weird but for the moment I'd rather even just 'nano' if I had to use a CLI editor in linux.

Me and Vi have a love hate relationship but like an old friend we always get back together again. :)

Sent from my GT-I9100 using Tapatalk 2
 
Last edited:
I love using VIM for all of my projects and little code bits. Thanks Jazzc for the .vimrc, made some additions to my current one :)
I haven't heard of Aptana, but will try it out.

*nix + vim + LAMP = web dev ;)
 
I like TextMate for Mac a lot.
If you want get in with the cool kids... Learn Vim

You don't need a big a$$ IDE for web development. Just open up a file, put some HTML/php in it. Link your CSS. Done.

You'll learn a lot faster that way.
 
I find the built in code editor in filemanager on cpanel is fine for small scripts and edits. Its much faster than downloading/editing/uploading.
 
Notepad++ is the best , I'm using it for years ...
 
There's no single editor which can be called as the best. Every editor has it's merits and demerits. Here's what i think about them:
Dreamweaver
One of the most popular editors out there. Great if you are more into Front end Designing and also do PHP with it. It's moderately fast, especially when doing regex searches.
Cons
* Moderately fast. Not great for editing large files.
* Their Code completion feature just sucks.
* There's no way to auto indent your PHP code.

Netbeans (my favorite)
Netbeans is awesome if you are into OOPS based programming. They have superb Code Completion feature which can read anything whether inside your project, or from different source classes. It has Auto Indentation for PHP which works pretty well. It can be extended with plugins too. You can work on GIT projects / clone them very easily, so team work becomes easier.
Cons
A bit slow and sluggish, especially if you have multiple projects.

Notepad++
It's lightning fast and can support really big files too. I mostly use it for quick single changes (directly from FTP using view / edit) and for editing large sql files having gbs of data.

Cons
* It's basically is a single file editor, rather than the whole project.
* There's no Code completion, no auto indentation, poor HTML tag hints.

Now choose what you need. I actually use them all in tandem.
 
I am using Notepad++ for years now and in my opinion it's the best PHP editor out there. I also tried Komodo IDE but it was too slow.
 
Notepad++ for quick down and dirty editing.
 
Back
Top