How to auto-indent code in the Atom editor?

后端 未结 11 1485
野的像风
野的像风 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

    This is the best help that I found:

    https://atom.io/packages/atom-beautify

    This package can be installed in Atom and then CTRL+ALT+B solve the problem.

提交回复
热议问题