开发者

Can I see line numbers in the VS2010 editor?

开发者 https://www.devze.com 2023-03-03 20:40 出处:网络
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 Num

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消