Reputation: 163
I spent time searching how to do this but came up with nothing. Is there a simple way I can make the editor show line numbers?
Upvotes: 16
Views: 12217
Reputation: 11
http://msdn.microsoft.com/en-us/library/ms165340.aspx
On the menu bar, choose Tools, Options.
In the categories list on the left side of the Options window, expand the Text Editor node.
Expand the All Languages subfolder, and then choose General to set this option globally.
Upvotes: 2
Reputation: 12814
In the Tools menu, select Options. Under Text Editor, All Languages, General, you'll find "Display line numbers".
Upvotes: 4
Reputation: 888107
Tools, Options, Text Editor, All Languages, Show Line Numbers
You can also show them only for a specific language.
Upvotes: 35