Turn On Visual Studio 2005/2008/2010 Line Numbering

Visual Studio Line Numbering Setting


 

 Text Editor Settings

Once all of the settings are visible, expand the Text Editor branch of the tree. Here you can see a list of all of the languages for which settings may be modified. We will enable line numbering for C# code editing. Expand the C# node of the tree and select the General section to reveal the settings. To enable source code line numbering, tick the appropriate checkbox. Click OK to accept the setting and the line numbers will appear.