Visual Studio 2019 忽略选项卡首选项 [英] Visual Studio 2019 ignoring tab preference

查看:74
本文介绍了Visual Studio 2019 忽略选项卡首选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上我在 VS2019 中编程,然后开始我的一天.当我晚上坐下来继续编程时,我意识到它突然放置了空格而不是制表符!我的偏好设置为每种语言设置制表符而不是空格,并且在前几天一直这样做.我更新了 VS 以确保,但问题仍然存在 - 无论我的偏好设置如何,都会放置空格而不是制表符.

I was programming in VS2019 this morning before going about my day. When I sat down in the evening to keep programming, I realized that it has suddenly been placing spaces instead of tabs! My preferences are set for every language to place tabs instead of spaces, and has been doing so in previous days. I updated VS to make sure, but the problem persists - regardless of my preference settings, out of nowhere spaces are being placed instead of tabs.

PS:我知道这个问题已经在here,但他们的解决方案是更新 VS - 这对我没有任何改变.

PS: I am aware that this question has already been asked here, but their solution was to update VS - which did not change anything for me.

推荐答案

我找到了解决方案!在选项中,转到文本编辑器">高级"并关闭使用自适应格式".它根据给定文件的现有格式覆盖了我的首选项

I found the solution! In the options, go to Text Editor > Advanced and turn off "Use adaptive formatting". It was overwriting my preferences based off of the already-existing formatting of a given file

这篇关于Visual Studio 2019 忽略选项卡首选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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