Reputation: 372
How can collapse methods in files by default? for example Java files. When opening the file I found methods expanded. So I want to make them collapsed by default. Is there a feature in NetBeans to do that?
Upvotes: 3
Views: 139
Reputation: 51
You can collapse it by using the keymap:
i.e.
The default is CTRL+SHIFT+-.
But you can adjust this in Tools
->Options
->Keymap
.
they stay like that if you reopen the file.
Upvotes: 1