News for hackers. Stuff that matters.
Re:Netbeans for PHP gets an enthusiastically positive review by patio11 on Tuesday May 26, 2009 @10:39PM (#627891)
It is also pretty good for Ruby on Rails coding, and getting better.

Ruby parsing is pain and a half, particularly for half-written Ruby code, but if you type something like

validates_(hit your autocompletion key)

in a controller you'll get a list of all the built in validations plus any you added which are in scope, and if you do something like

validates_acceptance_of (hit your autocompletion key) it will even tell you what all those wonderful damnable optional parameters are. It also saved my bacon once this weekend for

render :action => whatever, :layout => nil , which actually rendered the layout for quite some time until I backed out the "=> nil" and was told by autocomplete that what I really wanted was "=> false".

Re:Netbeans for PHP gets an enthusiastically positive review by curej on Wednesday May 27, 2009 @12:14AM (#627970)
Netbeans is my favorite Ruby editor, much to my own surprise. One thing I don't like, though, is how much extraneous autocomplete information it provides. If I'm in a controller and type the name of a model object and then type period, it shows a dizzying dropdown list of thousands of methods, including several hundred different versions of the "new" method. Maybe it's just me.