Search code examples
intellij-ideafolding

IntelliJ keeps folding my code by default


When I open up any code file .java or .html IntelliJ (12.x) keeps the code folded and I always have to expand everything.

How do I make code expand by default?


Solution

  • In the preferences (ctrl+alt+s on my machine), under Editor, you will find an entry called Code Folding. In there you can choose what's folded by default. In your case, you'll probably want to remove all the defaults.

    enter image description here