Friday, January 21, 2011

How do I enable line numbers in VS2008?

I can't seem to find that option.

Surely it's in there?

Thanks.

  • That would be Tools > Options

    Text Editor > All Languages > Line Numbers (at the bottom right)

    Keng : I'm glad they didn't try to hide it or anything!!!!
  • Tools -> Options -> Text Editor -> All languages. Near the bottom.

    From IainMH
  • Main Menu > Tools > Options
    Text Editor (Tree) > C# > Display group (Line numbers checkbox)

    that was easy :)

    From Gishu
  • Go to Tools - Options - Text Editor - All Languages - General, and check Line numbers to show line numbers for all files.

    If you just want to see (or not see) the line numbers of a specific file, you can override this global setting by going to the Text Editor - - General page.

    Did you know... how to show line numbers in the editor?

    From Gulzar
  • Don't forget to check "[x] Show all settings" at the bottom of the form, otherwise you won't be able to see "All Languages".

0 comments:

Post a Comment