intellij-ideajetbrains-ide

How to prevent imports to minimize when I open a new file in IntelliJ?


Attached a picture of the imports when I open any new file. They are always minimized by default. How do I prevent that from happening?

This is IntelliJ, I use mostly for Java files but same goes for Typescript files as well. I think it would be applicable for all files.

Image of imports minimized when a file is opened


Solution

  • Settings/Preferences | Editor | General | Code Folding -- check what you have there, "Imports" in particular.

    enter image description here