4

Is there any way to fold all of functions at one time on Geany IDE?

Is there any way to do that?

I am looking for any option which let my Geany IDE to fold all of the functions at one time.

user3666197
  • 1
  • 6
  • 50
  • 92
alex
  • 1,319
  • 3
  • 16
  • 28

2 Answers2

6

Go to Document -> Fold All.

Stefan
  • 2,460
  • 1
  • 17
  • 33
2

One may pre-configure Geany shortcuts for (un)-folding as needed:


Enter Ctrl+Alt+P to open a Geany [Preferences] settings UI-panel

Select [Keyboard Keybindings] tab on the left,

Scroll down to section [+][Document] and unfold it's attribute settings

Setup an unused keyboard shortcut for each of, as handy:

- Toggle Folding On/Off on a current code-block
- Unfold the whole document
- Fold the whole document

( prompts are not exact, actual Geany language-localisation may provide other expressions while meaning is clear )


One may pre-configure Geany to enable / disable (un)-folding + details:


Enter Ctrl+Alt+P to open a Geany [Preferences] settings UI-panel

Select [Editor] tab on the left,

(un)-Check selection boxes as preferred in:

[x] Enable folding
[x] Fold/Unfold all children of a fold point ... a [Shift]+<aMouseCLICK> is interpreted as a one-shot reversed setting of this preferences attribute

user3666197
  • 1
  • 6
  • 50
  • 92