I’ve been using Visual Studio since forever, yet it always takes me a while to remember how to show line numbers. It’s especially hard to remember after a fresh install of Visual Studio. Assuming you have it installed and open, here’s how to display line numbers in your code.
- Click Tools in the menu bar
- Options
- Expand Text Editor ( in the popup window )
- Click ‘All Languages’
- Check the ‘Line numbers’ box under the Display heading ( on the right )
- Click OK
- Happy Happy Joy Joy!


Cool – Thanks
thank you
thx for this!
Thank you!
thank
Thanks… GOD bless you…
thanks very much… that very help me.. hehe..
Thanx a million!
Very Helpful