Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show line numbers of text file opened in Visual Studio?

Is there anything which will show line numbers for all the files opened in Visual Studio?

like image 302
Rahul Chowdhury Avatar asked Dec 18 '25 13:12

Rahul Chowdhury


2 Answers

In VS 2010, for text only...

Tools -> Options -> Text Editor -> Plain Text -> General -> Display Line Numbers

For everything...

Tools -> Options -> Text Editor -> All Languages -> General -> Display Line Numbers
like image 50
Anthony Chu Avatar answered Dec 20 '25 01:12

Anthony Chu


Browse to the following path:

Tools -> Options -> Text Editors -> All Languages

Now check the option Line Numbers

And here you go!

like image 34
jparthj Avatar answered Dec 20 '25 02:12

jparthj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!