I’m huge fan of NetBeans IDE for PHP based application development. Though I’m fully comfortable writing codes in text editors developed in mediavel ages :p, I’ve seen how IDEs like NetBeans let you concern about your application problem only while they take care of project management, code refactoring, syntax highlighting, versioning, code completion and any other features.
However, we can get most out of IDE (and anything) if we knew its usages very well. NetBeans were missing such manuals until recently a guide is written by PHP developer M A Hossain Tonu. The title of the book is PHP Application Development with NetBeans which is published by Packt Publishing, U.K.
Continue reading →
Well, if you ask me why I left Netbeans and started using phpStorm; I will say first: Speed, second: Line wrapping along with few other reasons. I’ve used Netbeans for quite sometime but I was very irritated as it did not have good line wrapping support. Some users may wonder why I am saying ‘good’ as it did not have any line wrapping at all.
The fact is that, line wrapping was implemented in earlier versions too but was not enabled by default as it was not stable. It can be enabled by editing a configuration file but it was causing lots of troubles while coding. However, as the latest version, v7.0, is released on 18th April 2011, line wrapping is now available without any such hacking and so far it is good to me.
How to enable Line Wrapping?
Go to Netbeans -> Preferences (or press CMD + ,) -> Editor -> Formatting
You will notice a drop down labeled as ‘Line Wrap’. Choose ‘After Words’ or ‘Anywhere’ as per your wish and then hit OK.
That’s it. Simply open a file (opened files need re-opening) and you will not see horizontal scroll-bars :).