[英]How to prevent Visual Studio 2019 from changing tabs to spaces?
I can't find any way to make Visual Studio 2019 to keep tabs.我找不到任何方法让 Visual Studio 2019 保持标签。
I've searched the internet for a bit and looked in settings, but to no avail.我在互联网上搜索了一下并查看了设置,但无济于事。
From the "Tools" menu, select the "Options..." command.从“工具”菜单中,选择“选项...”命令。
Select the "Text Editor" item in the list on the left-hand side.在左侧列表中选择“文本编辑器”项。
Scroll down to the "Python" item.向下滚动到“Python”项目。 Select it and select "Tabs."
选择它并选择“标签”。
Then, in the right-hand panel, select the "Keep Tabs" radio-button control, as shown below:然后,在右侧面板中,选择“Keep Tabs”单选按钮控件,如下所示:
The method is similar for other supported languages, such as C++ and C#.该方法与其他支持的语言类似,例如 C++ 和 C#。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.