Atom编辑器:缩进添加额外的不需要的空格

时间:2016-12-12 16:22:04

标签: editor indentation atom-editor auto-indent

当点击进入python代码的Atom编辑器时,新行的光标会增加两个额外的空格。所以它并没有最终到达应有的位置,即代码的其余部分中的两个空格。

enter image description here

我已经按照此处提到的建议,即tablength = 2,带有自动模式的softtab:How to change new line indentation in atom editor?

在vim中,似乎这是由shiftwidth关键字设置的(即= 4表示与上述相同的问题,= 2表示它有效)。我不能为Atom找到这个关键字。

0 个答案:

没有答案
相关问题