Intellij turns off code folding using the / squiggle / twiddle (~) tilde

I cannot figure out how to disable the code folding action in Intellij IDEA, which destroys types, etc. with a green rattle. In other words, you might have a string like:

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

where "~" is the folded code. How to disable this folding?

+7
java editor intellij-idea
source share
1 answer

Settings> Editor> Code fold> "General constructor and method parameters"

FYI, the settings window has a pretty good search field in the upper left corner. I just typed "fold" and after that there was a pretty quick search.

+16
source share

All Articles