Show Or Hide Line Numbers In Documents In Visual Studio

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?

Please see this article in my blog. 

Background

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.

Steps

Open your visual studio, click on the Tools, Now Click on the Options.

Show Or Hide Line numbers In Documents In Visual Studio

Now you will see a pop up and in that click on the Text Editor.

Show Or Hide Line numbers In Documents In Visual Studio

Now click on the All Languages. You can find out Line Numbers on the right side.

Show Or Hide Line numbers In Documents In Visual Studio

Enable Line Number check box.

Show Or Hide Line numbers In Documents In Visual Studio

Now click OK. That’s all we did it.

Conclusion

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.

Kindest Regards
Sibeesh Venu

Up Next
    Ebook Download
    View all
    Learn
    View all