Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What editor do people here use in linux? I want Xdebug support but I don't want something java based (eclipse, netbeans, etc) nor do I really want to use VIM. Any native GTK based editor/sdk that supports PHP & xdebug would be awesome.

share|improve this question
    
emacs and geben pop into mind. I am not answering because I don't have personal experience with geben or xdebug. But I am sure a sizable crowd won't leave emacs for the life of it. –  Marcelo Morales Mar 31 '11 at 14:09
    
I should mention I basically want step debugging in PHP. I can do it with netbeans, but netbeans is java based, slow and a memory hog. I've used VIM but that's a little clunky. I'm a huge fan of jEdit. If there was something like this that is a native non java based client that would be awesome as well. –  xamox Apr 1 '11 at 19:10
add comment

3 Answers

Aptana Studio 3

is by far one of the most comprehensive IDEs I've used for PHP development (or Web development for that part).

go!

Here's an additional screenshot of it's on-the-fly debugging, autocomplete, and hinting.

example

share|improve this answer
    
I grabbed a copy of the 3.0 preview release today and tested it on 10.10. It seems fairly nice, but it's slamming on my CPU for some reason. As soon as I open it, my CPU usage goes to about half. It looks like it has a lot of features but does it support step through debugging in PHP? –  xamox Apr 1 '11 at 19:08
    
@xamox - define "step through" you mean like setting up break points and performing executions? –  Marco Ceppi Apr 1 '11 at 19:31
    
Yeah, stopping at break points, and being able to view things like the call stack and variable's, etc. –  xamox Apr 11 '11 at 3:48
add comment

I recently switched from Netbeans to PhpStorm and haven't looked back. With a zero config setup you can start using xdebug immediately - both for debugging pages, and also for commandline scripts.

You can do all the obvious stuff like breakpoints, and step debugging - but you can also step "in" and step "over" to be able to sensibly handle methods that you don't really care about stepping through. It has the abiltiy to "watch" for variables and values as you step too.

share|improve this answer
    
I no longer do much PHP dev, but thanks for the heads up. Sadly I never came to a one size fits all. PhpStorm looks nice, but I'm also an open source maniac and would like my editor to be. I found geany to actually be a very completely editor except for the fact I can't set break points, it does let me block comment and mass find replace easily so debugging happens pretty quick. –  xamox Dec 16 '11 at 15:19
    
phpstorm is the best ide used by me as well, unfortunately is not free :( but 90$ is good price if you need it everyday –  Postadelmaga Jan 5 at 18:08
add comment

I use geany for python as well as php. Just love it. See here for snippets and colorschemes. I also created a tag creator for geany based on its documentation.

share|improve this answer
    
I tried geany as well, I like it has git support already but doesn't seem to support step debugging with PHP. –  xamox Apr 1 '11 at 19:08
    
it has a plugin called gdb. Other lightweight editors especially on webfront include gphpedit bluefish and then there is quanta which is based on KDE but I mostly use geany. –  sagarchalise Apr 1 '11 at 19:16
    
I should mention, I no longer do PHP dev but python full time now, and I absolutely love geany for python, it has everything, light weight, and cross platform. –  xamox Dec 16 '11 at 15:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.