Monday, April 9, 2012

Line Numbers in Visual Studio

By default Visual Studio does not show the line numbers of the source code. This can be toggled quite easily.


  1. On the menu bar, choose ToolsOptions.
  2. In the categories list on the left side of the Options window, expand the Text Editor node.
  3. Perform one of the following steps:
    • To set this option globally, expand the All Languages subfolder.
      To set this option for a specific language such as BasicC#F#, open the subfolder for that language.
  4. Choose the General option.
  5. In the Display section, choose Line numbers.

No comments: