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?
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 + .
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 .
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With