Code format via short key and menu in Intellij

前端 未结 1 1978
被撕碎了的回忆
被撕碎了的回忆 2021-01-25 10:43

I have java project in Intellij under Windows. Trying to format code by using Ctrl+Alt+L combination, but this does nothing. In case I go to menu

相关标签:
1条回答
  • 2021-01-25 11:09

    Check that your keyboard shortcuts are configured. To do this, press Ctrl+Alt+S, navigate to Keymap, open up Main menu drop down, open Code folder and check that Reformat Code has a key combination set. You can also find Reformat Code via the search bar.

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