Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding line numbers on Visual Studio

How do I add line numbers in Microsoft Visual Studio?

like image 418
Alumina Brain Avatar asked Aug 12 '15 16:08

Alumina Brain


1 Answers

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

like image 81
iliketocode Avatar answered Oct 28 '22 19:10

iliketocode