VS 2013:花括号大小不匹配 [英] VS 2013: curly braces size mismatch

查看:170
本文介绍了VS 2013:花括号大小不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Visual Studio 2013出现问题:

I have got a problem with my Visual Studio 2013:

我的大括号有不同的大小.

My curly braces have different sizes.

如果我在同一行中编写一些代码,它们会更改大小以匹配我的编辑器字体大小.

If I write some code in the same line they change the size to match my editor font size.

是否有一个配置部分可以禁用此行为?

Is there a config section where I can disable this behavior?

推荐答案

好一会儿,在寻找解决方案后,我发现问题是扩展:VS Productivity Power Tools 2013:句法线压缩.

Well, after a while looking for a solution I found that the problem was an extension: VS Productivity Power Tools 2013: Syntactic Line Compression.

  1. 点击工具"->选项"
  2. 在选项"窗口中选择生产力电动工具"
  3. 将语法行压缩"切换为关闭"

希望这会有所帮助. PS:此解决方案也适用于VS 2015和VS 2017.

Hope this helps. PS: This solution works with VS 2015 and VS 2017 too.

这篇关于VS 2013:花括号大小不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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