Programmer Tip – Multiline Editing

Comment Many Lines At Once

Sometimes you are in need of modifying many fields at one, to make them ALL from private to public.

Other times you might want to leave a comment on many lines, while having those comments aligned.

And finally, other times, you just want to delete many lines at once.

If this has ever been the case, and you use Visual Studio, then you are in luck, as this popular IDE also counts with a way to manipulate as many lines as you want at once:


  1. Press the ALT button on your keyboard and leave it pressed.
  2. Select multiple lines and release.
  3. Type whatever you want on all lines at once.

What you just read about was ONE of several programmer tips that are available on the Programmer Tips Wiki.

So if you liked the one you just read, be sure to check it out (or star it) as it gets updated often! 😮


Visual Studio sure is neat huh? It is a shame we often miss out on cool obscured features like that.

But For Learning About This Feature Here…

 Thank You Very Much For Reading My Blog :3

  

Are You A Game Developer?

Hello! Glad to see other fellow indie devs around here 🙂

Just wanted to extend you an invitation to subscribe to the GAME DEVELOPER newsletter for FREE.

Don’t worry, you will ONLY receive notifications on game development content, which include helpful game development tutorials, tips and tricks, and updated on new FREE dev tools and programming tips directly on your inbox.

Leave a comment

Website Powered by WordPress.com.

Up ↑