Alumina Brain
Alumina Brain

Reputation: 149

Adding line numbers on Visual Studio

How do I add line numbers in Microsoft Visual Studio?

Upvotes: 14

Views: 18608

Answers (1)

John Smith
John Smith

Reputation: 7407

On the menu bar, choose Tools, Options. Expand the Text Editor node, and then select either the node for the language you are using, or All Languages to turn on line numbers in all languages.

enter image description here

Note-

This is how to do it in VS 2013. Other versions may have the "Line numbers" option listed under Text Editor => General, as shown in the screen shot below-

enter image description here

Upvotes: 27

Related Questions