how can i display all line numbers in code view?

plz help on showing line numbers in code view of C#.net 2005


Answer this question

how can i display all line numbers in code view?

  • Adrigo Gallus

    thx kendsr, can't believe it took me that long time still not able to find it. Now I am happy, cheers :)

  • jw700

    Under tools, select options, select text editor, select c#. You'll see a checkbox near the bottom under "Dosplay" for line numbers. Check it and you'll have line numbers in the code view.
  • kawano1h

    Line Numbers is missing from my view.

    Microsoft Visual Studio 2005
    Version 8.0.50727.42  (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727

    Installed Edition: C# Express

    Microsoft Visual C# 2005   76544-000-0000011-00126
    Microsoft Visual C# 2005

    Microsoft XNA Game Studio Express (Beta 2)   1.0
    Microsoft XNA Game Studio Express (Beta 2) Version 1.0

    I just have:

    Selection margin
    Indicator margin
    Vertical scroll bar
    Horizontal scroll bar

     



  • Zappo

    It's been a while on this post, but in case someone comes looking...

    Make sure you have checked the box "Show all settings" at the bottom of the options dialog. This also works for 2008.


  • how can i display all line numbers in code view?