使空格起作用,在VS Code中看起来像制表符

问题描述 投票:0回答:2

[用VS Code编写具有特定宽度的空格(可能由.editorconfig文件确定样式)的源文件时,如何强制VS Code在不重新格式化文件的情况下将空格视为制表符?

例如,缩进宽度可以是4个空格,所以我宁愿看到一个制表符空格字符,其宽度为4个空格,而不是在编辑器中显示4个空格。

visual-studio-code vscode-settings editorconfig
2个回答
0
投票

外观


0
投票

行为

© www.soinside.com 2019 - 2024. All rights reserved.