Working with a colleague? Doing a screen share? Have Visual Studio running on a projector? Get an error message that contains a line number? All these situations make your life tough if you have to watch the status bar to check your line numbers. This video shows you how to display the line numbers on the screen.
Tools | Options >> Text Editor | All Languages | General, and Check Line numbers
Visual Studio Tip / Trick #026 English Transcription:
Today’s visual studio trick is a video re-post of Sara Fords' original trick on August 2007. Trick No. 26 is showing line numbers. This is extremely important if you are working on a team or you have somebody else looking at your Visual Studio. From the tools menu, under options if you look at the text editor and then all languages you can turn on line numbers. And now you have very simple way to tell people that are looking at line number 12 No. or line No.13. Also code is collapsed you will see that you jump from line 12 to line 23. That also works word wraps some time you will see a space between a line. So it is a very easy way for you to communicate with somebody else what specific line number of code. If you are talking to somebody on phone and they both are looking at the same file from same source control, say “Hey! Look at line 22”. This is just easy way for you to get to specific place.
1 comment(s)
Thank you