I wanted to show you how to add line numbers to your Visual Studio interface but couldn’t find a proper tutorial to do so, that’s why I decided to create the Quick Tips series!
Adding line numbers is easy and really useful to pointing out things that don’t work to coworkers. It’s also easier to know where you are in a document that has a few hundred lines.
To show the line numbers, first go into Tools menu -> Options.
Then expand TextEditor -> I chose all languages but if you want to be more selective you can click on one or many to ajust the option. Finally, check the Line numbers check box.
That’s it! The line numbers should appear on the selected or all the programming languages (depending on your selection).
Here is the final result.
No Comments Yet!
You can be first to comment this post!