How enable auto-format code for Intellij IDEA?

后端 未结 15 1115
小鲜肉
小鲜肉 2020-12-22 17:05

Is it possible in Intellij IDEA after typing \';\' or press \'Enter\' happened formatting of this string?

For instance, to:

a+b=10;

15条回答
  •  心在旅途
    2020-12-22 17:35

    Default one is Ctrl+Alt+L There is a key-mapping dialog box where you can configure/overwride all keyboard shortcuts.

    Navigate File->Settings->KeyMap

提交回复
热议问题