I recently got into Netbeans. I used to code in Visual studio, so I'm trying to figure out what all the shortcuts are that I used to use in Visual Studio. CTRL-SHIFT-S, for one, is the same. But I don't (and can't find online) the shortcut keys to minimise all FUNCTION in the code.

E.g:

function bla() {
  print 'hello';
  print 'world';
}

will become:

function bla() {..}

(i.e. minimised)

Anyone know how to do that?

link|improve this question

68% accept rate
I hope I'm allowed to ask this in the comment, but why? I code in PHP using Netbeans? Isn't this like a gray area? – RD. Oct 1 '11 at 11:26
feedback

migrated from stackoverflow.com Oct 3 '11 at 4:15

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

The default is CTRL+SHIFT+-. But you can adjust this in Tools -> Options -> Keymap.

link|improve this answer
feedback

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

-> http://wiki.netbeans.org/KeymapProfileFor60

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.