Visual Studio 2005: Add Line Numbers

Add line numbers to the editor:

  1. Tools -> Options

  2. Text Editor -> All Languages -> General

  3. Check Display Section -> Line numbers



Why isn't this on by default? Isn't this how we track down runtime errors? Or are we all so great that we run our apps entirely in debug mode because it is so wickedly efficient for troubleshooting apps of any significant size.

5 comments:

Anonymous said...

Thanks for the post though, I was looking to add line numbers for a long time.

Marisol said...

Good for people to know.

Anonymous said...

Thanks Man

DkRay said...

Yeah, thanks man. This helps a lot

cwlee said...

Thanks.