How to COMMENT or UNCOMMENT MULTIPLE LINES in VS CODE? Shortcut
hey everyone so very useful hack if you are doing coding so how to code multiple a comment multiple lines in visual studio code so for example if i select multiple lines so and then i can just comment them so to do that i need to use shift option a on mac and then i will have begin and end installed so it's a comment it's not like a beginning and end for the method and then to uncomment i can just use again shift option a on mac so there you have it so on mac shift option a on windows shift out a and there is another way uh where you can insert hashtags but it's not that handy so on mac it's command k c so again uh command k c so it's not that easy and then if i want to do it again yeah i'll just add more hashtags so to uncomment that i need to use command ku but for some reason doesn't really work for me command k you it just makes uppercase so there we had so but on windows ctrl k plus c uncomment ctrl k plus u so there you have it and then you can just uh change that in preferences if you type in keyboard preferences open keyboard shortcuts then you can just change all of that so hope that was helpful for beginner developersNo answer to your question? ASK IN FORUM. Subscribe on YouTube!