One of my favourite VS Code functionality is commenting and uncomment multiple lines of code using a keyboard shortcut.
This post will show how to use VS Code to do the above, save time, and be more productive with coding and VS Code.
To comment multiple lines of code using VS Code, we use the following keyboard keys:
Ctrl + k + c
After using the above keys, the code will look like this:
To do the opposite and uncomment multiple lines of code, use the following keys.
Ctrl + k + u