Jens Vestergaard grabs some code and is left with line numbers he wants to remove:
Only too often I find myself searching the web for pieces of code, that I need for some odd solution. And almost every time, I come across a web page, where the code sample is displayed with line numbers. It’s always annoying to have to sit and delete those manually. No longer I say! Yes, you heard me right. Actually Visual Studio has a neat trick to help you get this done in a jiff.
This is useful for a lot more than just removing line numbers.
And what a trick?
Personally I’d use TextEdit, flip it to Column mode, select the column and delete it. I love TE for quite a number of purposes.
Thanks for the tip. I like using ALT-select (or Alt+Shift+select) because it works in SSMS, Visual Studio, and Notepad++.