In this article we will see how can we show or hide line numbers in documents in visual studio. Some of you might have tried this. Here I will share you the steps to do that. It is easy to find out what and where you have changed your source code if you know the line number of those codes. Isn’t it?
I have implemented this in my visual studio long ago. Few days back my friend asked me to do this for him. So I thought of writing an article and show him how instead showing him directly. So that he can have a reference.
Open your visual studio, click on the Tools, Now Click on the Options.
Now you will see a pop up and in that click on the Text Editor.
Now click on the All Languages. You can find out Line Numbers on the right side.
Enable Line Number check box.
Now click OK. That’s all we did it.
Did I miss anything that you may think which is needed?. I hope you liked this article. Please share me your valuable suggestions and feedback.
Your turn. What do you think?
A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I am able to.