Crissy
Crissy

Reputation: 163

Can I see line numbers in the VS2010 editor?

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

Answers (3)

user620755
user620755

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

Hand-E-Food
Hand-E-Food

Reputation: 12814

In the Tools menu, select Options. Under Text Editor, All Languages, General, you'll find "Display line numbers".

Upvotes: 4

SLaks
SLaks

Reputation: 888107

Tools, Options, Text Editor, All Languages, Show Line Numbers

You can also show them only for a specific language.

Upvotes: 35

Related Questions