Enable Line Numbers In Visual Studio 2010 for C#

To enable line numbers along the left side of your code (which makes for easier debugging tool), simply navigate to Tools > Options to open the Options Window.

In the Options Window, navigate to Text Editor > C# > General. In the screen, there is a checkbox called Line Numbers. Insure the check box is checked. These quick steps will enable the line numbers only for C#.

To take this procedure a step further, if you’d like to enable Line Numbers on all languages (and not just only C#), instead of selecting C#, there is another option on that level of the hierarchy called All Languages that displays the same checkbox (under General) with a checkbox that toggles Line Numbers in all languages.

Share and Enjoy:
  • Digg
  • DotNetKicks
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • MySpace
  • Netvibes
  • Reddit
  • StumbleUpon
You can leave a response, or trackback from your own site.

Leave a Reply