Visual Studio Code Line Numbers Display

While writing a program in Visual Studio, showing line numbers of code on the screen will benefit you in many ways.

Especially in large projects, having these line numbers open can make you get lost in the code or quickly find a searched piece of code.

Follow the steps below to open code line numbers in Visual Studio.

  • 1 - Select "Tools" from the Menu above.
  • 2 - Select "Options".
  • 3 - Select "Text Editor" from the left panel of the window that opens.
  • 4 - Select "All Languages". (or if you want it specific to a language, you can also select that language)
  • 5 - Check the "Line numbers" box.


You May Interest

What is Pdb File ?

Changing Visual Studio Theme Color

Setting Opened Curly Parenthesis to Automatically Up

Assigning an Icon to an Application in Visual Studio