How to correct indentation in IntelliJ

后端 未结 7 1547
逝去的感伤
逝去的感伤 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 11:21

    In Android Studio this works: Go to File->Settings->Editor->CodeStyle->Java. Under Wrapping and Braces uncheck "Comment at first Column" Then formatting shortcut will indent the comment lines as well.

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