Why doesn\'t Visual Studio have any way of showing line numbers in a source file? Is there any way to enable it, or a plugin for it? I know that the number of lines of code
In VS 2010:
Tools > Settings > Expert Settings
Then:
Tools > Options > Show all settings > Text editor > C# > General > Check Line Numbers (checkbox)
As of Visual Studio 2015, you can find the option under:
Tools-> Options -> Text Editor -> All Languages-> General -> Line Numbers
Or simply go to tools -> options
and type on the search bar: "Numbers".
It's not enabled by default but you can enable it by going to:
settings
Visual studio 2015 enterprice
Tools -> Options -> Text Editor -> All Languages -> check Line Numbers
https://msdn.microsoft.com/en-us/library/ms165340.aspx
For me, line numbers wouldn't appear in the editor until I added the option under both the "all languages" pane, and the language I was working under (C# etc)... screen capture showing editor options
Tools -> Options -> Show All Settings -> Text Editor -> All Languages -> Line Numbers