简体   繁体   中英

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.

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. Select it and select "Tabs."

Then, in the right-hand panel, select the "Keep Tabs" radio-button control, as shown below:

在此处输入图片说明

The method is similar for other supported languages, such as C++ and C#.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM