Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij turn off code folding involving tilde/squiggle/twiddle (~)

I cannot figure out how to turn off the code folding action in Intellij IDEA which collapses types and so forth with the green squiggle. In other words, you might have a line like:

private ArrayList listPlots = new ArrayList<~>();

where the "~" squiggle is the folded code. How do I disable this folding?

like image 758
Tyler Durden Avatar asked Sep 13 '13 21:09

Tyler Durden


People also ask

What is code folding in IntelliJ?

IntelliJ IDEA folds or unfolds the current code fragment, for example, a single method. To collapse or expand all code fragments, press Ctrl+Shift+NumPad - / Ctrl+Shift+NumPad + .

How do I change a read only file in IntelliJ?

To toggle read-only attribute of a file, open file in the editor, or select it in the Project tool window. Do one of the following: On the main menu, choose File | File Properties | Make File Read-Only , or Make File Writable .

What is editor fold?

A folding editor extends the principle of tree structured directories to editing text files. This allows the simultaneous display of large amounts of text by folding sections of text away behind a descriptive heading. This results in a tree structure very similar to a subdirectory structure of, for example, UNIX.


1 Answers

Settings > Editor > Code Folding > "Generic constructor and method parameters"

FYI, the settings window has a pretty good search field at the upper-left. I just typed "fold" into that and it was a pretty quick search after that.

like image 135
yshavit Avatar answered Sep 22 '22 04:09

yshavit