java dev
java dev

Reputation: 372

How to collapse methods in the NetBeans files by default?

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

Answers (1)

UlrichGiorgioJaeger
UlrichGiorgioJaeger

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

Related Questions