
How can I comment multiple lines in Visual Studio Code?
I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some …
Is there a shortcut to comment multiple lines in python using VS …
Sep 26, 2022 · Instead of indivually typing out a hash tag in front of each line, is there a way to select a block of code and comment/uncomment everything by only pressing a couple shortcut …
keyboard shortcuts - How can I navigate back to the last cursor ...
What is the keyboard shortcut to navigate back to the last cursor position in Visual Studio Code?
Run a Command Prompt command from Desktop Shortcut
Mar 16, 2012 · Is it possible to create a desktop shortcut that, when pressed, will open command prompt and run a pre-defined command?
Hotkey to open cmd with administration rights in current folder …
Mar 21, 2018 · In Explorer sequence Shift+F10 -> open command window here opens cmd in current directory. Is there any way to do the same via shortcuts to launch cmd with …
How to indent/format a selection of code in Visual Studio Code?
I want to indent a specific section of code in Visual Studio Code. I read How do you format code in Visual Studio Code? that gives shortcuts to indent the whole code, but it doesn't work when …
How do you format code in Visual Studio Code (VSCode)?
Apr 30, 2015 · You can also customize this shortcut using a preference setting if needed. Code Formatting While Saving the File: Visual Studio Code allows the user to customize the default …
What are the key shortcuts to comment and uncomment code?
There were Ctrl+E+C (comment) and Ctrl+E+U (uncomment) in older versions, or Ctrl+K+C and Ctrl+K+U. But in Visual Studio 2012, I can't see key shortcuts: How can I enable those shortcuts?
How do I fix the indentation of selected lines in Visual Studio
Selecting the text to fix, and Ctrl K, Ctrl F shortcut certainly works. However, I generally find that if a particular method (for instance) has it's indentation messed up, simply removing the closing …
How can we save all files in (VSCode) like we do in Visual Studio
May 4, 2016 · It doesn't look like VS Code has a built-in single-press keyboard shortcut to save all open files on Windows. The simplest way would be to use the menu accelerators: ALT + F, …