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 a program doesn't matter, but sometimes it is nice to know how long a program is or the number of a particular line for reference.
Though I tried, I can't seem to find a way to enable line numbering and I find that surprising.
This is Visual Studio 2010 Ultimate. (If you have read my older questions, I've been using 2008 Express until now.)
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".Visual studio 2015 enterprice
Tools -> Options -> Text Editor -> All Languages -> check Line Numbers
https://msdn.microsoft.com/en-us/library/ms165340.aspx
Are you talking about seeing the line numbers or knowing the total number of lines in a project? Here is the 1st one
Visual Studio has line numbering:
Tools -> Options -> Text Editor -> All Languages -> check the "Line numbers" checkbox.
Type 'line numbers' into the Quick Launch textbox (top right VS 2015), and it'll take you right where you need to be (tick Line Numbers checkbox).
Options -> Text Editor -> All Languages -> Line Number checkbox