IntelliJ collapsing single line methods

后端 未结 3 972
無奈伤痛
無奈伤痛 2020-12-15 02:05

Since I\'ve updated my version of intelliJ (14.x to 15.x) it has started automatically collapsing single line methods in the Java editor:

Previous versi

3条回答
  •  一生所求
    2020-12-15 02:55

    Open 'Settings' from the File menu. Under 'Editor' -> 'General' -> 'Code Folding', you will find a 'Collapse by Default' section.

    Simply uncheck 'One-line methods' and click OK.

提交回复
热议问题