Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Visual Studio 2013 有问题:
我的花括号有不同的尺寸。
如果我在同一行中编写一些代码,它们会更改大小以匹配我的编辑器字体大小。
是否有一个配置部分可以禁用此行为?
好吧,在寻找解决方案一段时间后,我发现问题是一个扩展:VS Productivity Power Tools 2013: Syntactic Line Compression。
希望这可以帮助。PS:此解决方案也适用于 VS 2015 和 VS 2017。
在 VS 2019 中使用 Productivity Power Tools 也是如此。
工具/选项/生产力电动工具:(禁用句法行压缩,如下所示)