I spent time searching how to do this but came up with no开发者_如何学运维thing. Is there a simple way I can make the editor show line numbers?
Tools, Options, Text Editor, All Languages, Show Line Numbers
You can also show them only for a specific language.
In the Tools menu, select Options. Under Text Editor, All Languages, General, you'll find "Display line numbers".
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.
精彩评论