Visual Studio 最近 "hungry" 或 "greedy" 退格行为更新?

Visual Studio recent "hungry" or "greedy" backspace behavior update?

最近,Visual Studio 2017(和我刚开始使用的 2019)似乎已经改变了后退space 按钮的行为,具体来说,光标位于只有白色 space (比方说制表符)在光标的左侧。我曾经按返回space 并删除一个选项卡。现在,所有的白色 space 都被删除了,我的代码行放在上面那行的末尾。

这似乎是个好主意,对大多数人来说可能是个好主意,但对我来说,结果是我出于习惯将后退space键混在一起,最后在前一行的代码上退格。

我想适应这种新奇的行为。 Visual Studio 是否有设置来打开和关闭此行为?

嗯,根据这个 reddit post(你昨天在哪里?),它是 ReSharper:

https://www.reddit.com/r/VisualStudio/comments/by5upb/how_to_disable_greedy_backspace_behavior_in/

关键位:

Looks like it was ReSharper all along! Options -> Editor -> Editor Behavior -> Unindent on Backspace. Change from "To proper indent position" to "Disabled"

果然,这就是问题所在。幸好我无法放弃你,ReSharper。我想这将是另一个卖点,对于那些喜欢贪婪删除或不管它叫什么的人来说。