Monday, June 8, 2015

Visual Studio 2015: Displaying Line Numbers for Files

When talking about code with another develop, line numbers are extremely handy. Visual Studio (regardless of the version) does not display line numbers in source files by default. This is demonstrated below:

In order to enable line numbers, select Options from the Tools menu:

From the Options dialog navigate to Text Editor | All Languages | General.

Check the Line Numbers check box and click OK.Voila! the files displayed in Visual Studio have line numbers as demonstrated below:

No comments :

Post a Comment