Comment Multiple Lines at Once (Visual Studio Programming Tricks)

Subscribers:
2,500
Published on ● Video Link: https://www.youtube.com/watch?v=JlViU3KNMMw



Duration: 1:00
5,313 views
57


- My new game is now out on Steam: https://store.steampowered.com/app/1227860/Plastris/
- I admit that this programming tip is something you probably won't use very often, but there was one an occasion in my life when I wanted to use somebody's code and it had such comments all over the place. I had to uncomment all the lines and didn't want to do it manually, so I found this solution in Visual Studio. :D

- Otherwise, it may be very helpful to be able to comment multiple lines at once to disable some part of your code so that you can quickly debug some minor issue with the help of just 2 simple shortcuts, instead of putting "//", "/*" and "*/" signs, which just seem like a waste of time.

- It works exceptionally well in situations when the lines are not listed one by one, but are instead located in different parts of your file.

My Games ► https://store.steampowered.com/bundle/15522/Khud0Bedn0/
Patreon ► https://www.patreon.com/Khud0 (My Game Development Blog)
Discord ► https://discord.gg/NMe8DcU (Join other Devs and Gamers!)
Twitter ► https://twitter.com/Khud0Steam (Occasional Thoughts and Updates)




Other Videos By Khud0 - Indie Game Dev


2020-07-09What are some good books for game development? Best game development books to read.
2020-07-01Game design lesson on example: Gato Roboto. Theory of game development. Indie game dev tips.
2020-06-24Amazon Kindle Paperwhite 4 review. eBook reader review. Is Kindle Paperwhite 4 worth the buy.
2020-06-20What is sprite mask in Unity. How to change visibility of sprites with masks Unity.
2020-06-10Easy way to center objects in Photoshop. Basic technique how to put object in center Photoshop.
2020-06-02Alarms & Coroutines (How to Optimize Your Game #2)
2020-05-19500 Subscribers! Indie game development unites! :)
2020-05-10Shatris (Puzzle Game Demo | Steam Trailer)
2020-04-24Ludum Dare 46 game devlog: Tamagotchi Mastermind
2020-04-21Deactivate Unused Objects (How to Optimize Your Game #1)
2020-04-08Comment Multiple Lines at Once (Visual Studio Programming Tricks)
2020-03-31How to randomize sound effects? (Unity Tutorial for Beginners)
2020-03-23Plastris Launch Trailer: Puzzle Game for PC (Steam)
2020-03-20Unity Puzzle Indie Game Devlog #4 (Plastris: Polish Stage)
2020-03-12200 Subscribers! (Indie Game Dev Q&A)
2020-02-27History, Desert (Making a puzzle game in a month: Week 3)
2020-02-15Simple Animations (Making a puzzle game in a month: Week 2)
2020-01-28New Project (Making a puzzle game in a month: Week 1)
2020-01-22I made a Game in 1 day (WOWIE Game Jam 2020)
2020-01-11Can you learn C# by reading a book? (C# Yellow Book)
2019-12-14I translated my indie game with Google Translate



Tags:
visual studio
visual studio code
vs code
multi selection
how to comment single or multiple lines in visual studio code editor
comment lines in visual studio code editor
comment multi lines
uncomment single line
visual studio code shortcuts tricks
visual studio code tips and tricks
visual studio debugging tips and tricks
visual studio c# tricks
programming tricks
c# programming tips and tricks
visual studio code comment multiple lines
Khud0
Khud0 - Indie Game Dev