What is the shortcut in NetBeans to close all "+" functions?

6

I remember I had this function in NetBeans. It is a shortcut that closes all (+) of the functions or divs .

    
asked by anonymous 27.05.2017 / 12:07

2 answers

6

Most of the shortcuts can be found at community-created PDF . But you do not have what you need. There is a older version Wiki page with all shortcuts . It must not have changed much. Specifically what you want for PC / Mac:

Collapse (hide) a block                   Ctrl + Minus                Cmd + Minus
Collapse (hide) a block                   Ctrl + NumPad Minus       
Collapse (hide) all code blocks           Ctrl + Shift + NumPad Minus Cmd + Shift + Minus
Expand a Collapsed Block (expand-fold)    Ctrl + Plus                 Cmd + Plus
Expand a Collapsed Block (expand-fold)    Ctrl + NumPad Plus  
Expand a Collapsed Block (expand-fold)    Ctrl + Equals               Cmd + Equals
Expand all code blocks (expand-all-folds) Ctrl + Shift + NumPad Plus  
Expand all code blocks (expand-all-folds) Ctrl + Shift + Plus         Cmd + Shift + Plus
Expand all code blocks (expand-all-folds) Ctrl + Shift + Equals       Cmd + Shift + Equals
    
27.05.2017 / 13:40
5

The default is CTRL + SHIFT + - . But you can adjust it in Tools - > Options - > Key Mapping.

Reference: Answer to the question Netbeans shortcut to minimise all functions? in superuser

    
27.05.2017 / 13:18