IntelliJ collapsing single line methods

后端 未结 3 971
無奈伤痛
無奈伤痛 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:49

    For mac, Code > Folding > Expand ALL/To Level

    0 讨论(0)
  • 2020-12-15 02:50

    On Windows:

    Settings -> Editor -> General -> Code Folding -> Uncheck "One-line methods"

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题