Avalon
Avalon

Reputation: 231

How to change line spacing in Visual Studio 2019?

In Visual Studio 2017, I reduced line spacing to fit more code on the screen.

Today I downloaded Visual Studio 2019, however, I forgot how to change line spacing. I searched the options menu, installed Productivity Power Tools, Googled for answers, reviewed all my installed extensions but still cannot find how to reduce the space between lines.

Upvotes: 20

Views: 28254

Answers (2)

Jesús Hagiwara
Jesús Hagiwara

Reputation: 403

For VS 2015/2017/2019

Check out the LinePress extension available on the VS Marketplace. After installing it, just go to the Tools menu > Options > LinePress > Options and there you can change the line height of the text editor to your liking. LinePress settings

For VS 2022

There's a built-in setting for that, just open the Tools menu > Options > Text Editor > General and look for a setting called Line Spacing, change its value to one of your liking. Setting line height on VS 2022

Upvotes: 8

Fernando Vieira
Fernando Vieira

Reputation: 3333

There's a feature request to implement this in Visual Studio 2019. It seems to be in their backlog but no target release date nor status have been provided.

https://developercommunity.visualstudio.com/content/idea/896879/allow-users-to-set-line-height.html

In the meantime, maybe you could try to find a different Font to better achieve the desired results.

Or try this extension: LinePress

Upvotes: 8

Related Questions