Press "Enter" to skip to content

Alt+Shift Trick in Notepad++, Visual Studio & SSMS

Some time ago I came across this post by Erik Darling about using Alt+Shift in SSMS to edit multiple lines at the same time. It’s very cool & something I use on a regular basis. While the original post mentions SSMS, it’s worth noting that Alt+Shift works the same way in Notepad++, Visual Studio & probably a bunch of other applications on Windows.

More recently, I saw a demo by Itzik Ben-Gan where he takes this trick to a whole new level. He used Alt+Shift to copy & paste multiple lines of data, something I hadn’t realised was possible. The below video shows how it works.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *