14

In Visual Studio 2013 source code editor empty lines or lines with only symbols, such as '{' or '#', have smaller font size than lines with alphanumeric characters.

I'm using "Classic Console" fixed-width font. This font does not have this problem in other applications and in VS2013 on my computer at work.

EDIT: Actually this problem occurs with any font.

Inconsistent font size in VS

Any idea how to fix this?

23

I have found the solution. It was caused by a default setting in Productivity Power Tools add-on.

enter image description here

|improve this answer|||||
  • 1
    This "fix" worked well - What a buggy "feature" though is this... – Marcel Oct 27 '14 at 8:43
  • 4
    Very useful and evocative diagram ;) And thank you so much for choosing question and answer text that made it easy for me to discover this page on Google. +1 – Paul d'Aoust Aug 11 '15 at 17:27
  • Oh but it was so productive! – stimpy77 Oct 9 '15 at 18:48
  • In the 2017 version of the extension the options are called Compress blank lines and Compress lines that do not have any alphanumeric characters.. No restart of VS is required after changing this option :) – bugybunny Nov 2 '18 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.