How to auto-indent code in the Atom editor?

后端 未结 11 1492
野的像风
野的像风 2020-12-07 07:04

How do you auto-indent your code in the Atom editor? In other editors you can usually select some code and auto-indent it.

Is there a keyboard shortcut as well?

11条回答
  •  一向
    一向 (楼主)
    2020-12-07 07:40

    If you have troubles with hotkeys, try to open Key Binding Resolver Window with Cmd + .. It will show you keys you're pressing in the realtime.

    For example, Cmd + Shift + ' is actually Cmd + "

提交回复
热议问题