From the course: Visual Studio 2019 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add line numbers for better document readability

Add line numbers for better document readability - Visual Studio Tutorial

From the course: Visual Studio 2019 Essential Training

Start my 1-month free trial

Add line numbers for better document readability

- [Instructor] Adding line numbers is one of the first settings I change in Visual Studio. It's a simple concept. Every complete line of code in the editor has a unique line number shown in the left margin. I find it invaluable for my teaching examples, but it's also helpful for code reviews or looking at other developers' code. It's not turned on at the moment. So you can see as I look through these files, there's no line numbers on the left side of the screen. Let's change that. Let's do this for all languages. So I'll go here and then go to general and then select line numbers, click okay, and just like that, we've got line numbers down the left side of the screen for all of these files.

Contents