Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any netbeans features that will make my day?

Tags:

php

netbeans

I've recently gotten quite fond of netbeans for my php work because of the XDebug integration. It has made me all but forget about textmate (which imho still beats netbeans for the little things)

What do you think is the one awesome netbeans feature I should know about, and more importantly why and how do I use it?

I'm asking this to optimize my skills in the use of the IDE and based on the idea that what works well for others might just work for me (and hopefully others).

like image 842
Kris Avatar asked May 29 '09 18:05

Kris


People also ask

What are the functions of NetBeans IDE?

NetBeans IDE is a free and open source integrated development environment for application development on Windows, Mac, Linux, and Solaris operating systems. The IDE simplifies the development of web, enterprise, desktop, and mobile applications that use the Java and HTML5 platforms.


1 Answers

I've found another great snip of genius i wanted to share:

you can do custom code folding (not really related to php, just netbeans)

just put this into a code file:

// <editor-fold defaultstate="collapsed" desc="getters and setters">  some boring code you don't need to see every time here  // </editor-fold> 

That'll behave similar to #regions in visual studio or pragma marks in xcode. but unlike regions, it doesn't screw up the working of your code, it's really just a comment!

like image 138
Kris Avatar answered Sep 25 '22 21:09

Kris