Additional Tips from Chapter 6

AX.53 Turn On Line Numbers

WINDOWS

Alt,T,O

MENU

Tools | Options | Text Editor | All Languages | General | Display

COMMAND

Macros.Samples.Utilities.TurnOnLineNumbers; Macros.Samples.Utilities.TurnOffLineNumbers

VERSIONS

2005, 2008, 2010

CODE

vstipEdit0025

As you can see in the following illustration, it’s great to have line numbers in your code:

image with no caption

Line numbers are not on by default. To turn on line numbers, just go to Tools | Options | Text Editor | General | Display and select the Line Numbers check box:

image with no caption

AX.54 Go to a Line Number ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.