Comment Multiple Lines at Once (Visual Studio Programming Tricks)
- 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)