How to quickly create a fold editor?

When I edited the GUI class, I found that the editor was reset.

// <editor-fold defaultstate="collapsed" desc="Generated Code"> ... // </editor-fold> 

I started using it for my own purposes, but this is a few words for writing. Therefore, I am looking for a faster way.

+19
netbeans
Jun 28 2018-12-12T00:
source share
3 answers
+9
Jul 06 2018-12-12T00:
source share

Enter "fcom" and press "TAB".

Other shortcuts here

+28
Oct 08 '13 at 1:57
source share

Now this is the default behavior in Netbeans 7.3.1.

Just select the lines and click Surround with ... as shown below.

enter image description here

+17
Jul 30 '13 at 18:13
source share



All Articles