How to change new line indentation in atom editor?

回眸只為那壹抹淺笑 提交于 2019-12-11 01:24:30

问题


I'm trying to configure my Atom editor in a way that after I click Enter, the new line starts with an indentation of 4 spaces, and not with a single Tab as it is configured by default.

Thanks.


回答1:


Go to settings.

Go to Editor sidebar item

Make sure Soft Tabs is checked

Below, set TabType to "auto"

Set Tab Length (a tab is normally 4 spaces)



来源:https://stackoverflow.com/questions/34594294/how-to-change-new-line-indentation-in-atom-editor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!