1

In VS 2013, I've noticed that lines of code show in a smaller/different font if it contains only non-alphanumeric characters (basically, punctuation and special characters only). This is especially rough for me because, due to OCD being triggered, I now have to put text comments at the end of every line that contains only a curly brace to ensure that the font size matches all of the others. This is really starting to affect my overall performance, so I am hoping that someone help me find out why this is happening and what can be done to fix it.

enter image description here

2 Answers2

0

Turns out the Productivity Power Tools add-on has the following settings:

Syntactic line compression options

[X] Compress blank lines

[X] Compress lines that do not have any alphanumeric characters

These are checked by default. UNCHECK THESE (the second one is the most annoying)

This is where I found the answer: Empty lines or lines with symbols only have smaller font size in VS2013

0

By default, all text editor fonts are Consolas 10. Find the display item that is different.

  1. Open TOOLS (menu), Options... (item), Environment (tree), Fonts and Colors (item).
  2. Select Show settings for: Text Editor
  3. Select Display items: Auto Completed Brace
  4. Keep pressing the down arrow key until you notice a the Size field as not 10.
  5. Change the field to 10.

Alternatively, in the Fonts and Colors panel, you could click "Use Defaults" to reset all the fonts quickly, but you'd lose any customization that you added.

Steven
  • 28,386