About 371,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. Keyboard shortcut for Jump to Previous View Location (Navigate …

    Jun 6, 2017 · The underlying problem is Ctrl + Alt + Left and Right are used by window managers to switch workspace and/or OEM utilities to change the screen orientation. You can change …

  4. Is there a format code shortcut for Visual Studio?

    Feb 9, 2011 · In Eclipse there is a shortcut, Ctrl+Shift+F, that re-indents code and fixes comments and blank lines. Is there an equivalent for Visual Studio 2010?

  5. shortcut - The code . command opens Cursor instead of VS code

    May 11, 2025 · When you install the "Cursor" AI code editor / IDE on Windows, it takes over the code command which many developers often use in the terminal to quickly open …

  6. 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 …

  7. 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?

  8. 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?

  9. 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?

  10. How to shift a block of code left/right by one space in VSCode?

    Dec 20, 2017 · UPDATE While these methods work, newer versions of VS Code uses the Ctrl +] shortcut to indent a block of code once, and Ctrl + [ to remove indentation. This method …