简体   繁体   中英

VS 2013: curly braces size mismatch

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?

一样大吗?

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. Click "Tools" -> "Options"
  2. Choose "Productivity Power Tools" in the Options window
  3. Toggle "Syntactic Line Compression" to "Off"

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

Also the same in VS 2019 with Productivity Power Tools.

Tools/Options/Productivity Power Tools: (Disable Syntactic Line Compression as below)

在此处输入图片说明

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