See more lines of code with syntactic line compression

The recent May 2014 update of Productivity Power Tools for Visual Studio 2013 adds the syntactic line compression feature. “It shrinks lines that contain neither letters nor numbers by 25% vertically, allowing more lines to be displayed in the editor.” In the following sample compressed code takes about 10% less vertical screen space:

Syntactic line compression before and after

Syntactic line compression before and after


In practice most frequently compressed lines are blank ones and lines with braces. If you place opening braces on the same line with code, compressed closing braces will look somewhat odd:
Compressed closing braces

Compressed closing braces


In this case you may want to compress only blank lines. This setting is available in syntactic line compression options:
Syntactic line compression options

Syntactic line compression options


I think it’s a nice enhancement that just works.

This entry was posted in Visual Studio news and tagged , . Bookmark the permalink.

1 Response to See more lines of code with syntactic line compression

  1. g00p3 says:

    That’s slick. I wish SSMS had all the enhancements and functionality of VS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s