How to correct indentation in IntelliJ

后端 未结 7 1625
逝去的感伤
逝去的感伤 2020-12-04 10:18

How can indentation be automatically (not manually) corrected in IntelliJ?

In Eclipse, it\'s possible to just highlight the code that needs indenting, right-click, a

7条回答
  •  醉梦人生
    2020-12-04 10:57

    Select Java editor settings for Intellij Select values for Tabsize, Indent & Continuation Intent (I choose 4,4 & 4)

    Then Ctrl + Alt + L to format your file (or your selection).

提交回复
热议问题