如何在atom编辑器中更改换行缩进? [英] How to change new line indentation in atom editor?

查看:261
本文介绍了如何在atom编辑器中更改换行缩进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试以一种方式配置Atom编辑器:单击Enter之后,新行以4个空格的缩进开始,而不是默认情况下配置的单个Tab.

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.

谢谢.

推荐答案

转到设置.

转到编辑器侧边栏项目

确保已选中软标签

Make sure Soft Tabs is checked

在下面,将 TabType 设置为自动"

Below, set TabType to "auto"

设置标签长度(标签通常为4个空格)

Set Tab Length (a tab is normally 4 spaces)

这篇关于如何在atom编辑器中更改换行缩进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆