3

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

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Rahul Chowdhury
  • 1,138
  • 6
  • 29
  • 52
  • chose: Tools=>options=>Text Editor. Then you can select C# or css or HTML ...end check Line numbers.:) – lmt1608 Feb 26 '14 at 06:31

4 Answers4

5

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
Anthony Chu
  • 37,170
  • 10
  • 81
  • 71
3

Browse to the following path:

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

Now check the option Line Numbers

And here you go!

jparthj
  • 1,606
  • 3
  • 20
  • 44
0

Go to Tools -> Options -> Text Editor -> All Languages. Check "Show line numbers"

Daniel Gabriel
  • 3,939
  • 2
  • 26
  • 37
0

Depends on your version of Visual Studio, but in VS2012 you must go to TOOLS -> Options -> Text Editor -> Plain Text then you must tick the "Line Numbers" Checkbox under the "Display" heading.

ilikebeets
  • 139
  • 4