About 367,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. 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 …

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

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

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

  6. Creating a desktop .url shortcut with an icon - Stack Overflow

    Oct 26, 2023 · I'm trying to create a simple script to as part of a deployment to multiple sites that will create a desktop shortcut to a web address and apply an icon to it, but I'm running into …

  7. Shortcut key for changing code cell to markdown cell in jupyter ...

    Dec 13, 2017 · Is there a shortcut key to change a code cell to markdown cell? To get a markdown cell, I have to first insert a cell, then go to the toolbar menu (below the main menu …

  8. Is there any shortcut to select the current line in Visual Studio?

    1 You can set a bind to the Edit.ExpandSelection command: In the options. Click the shortcut until it selects the whole line. The screenshot above is from the Edit > Advanced menu in Visual …

  9. How to make VS Code compact multiple lines to a single line?

    Jul 20, 2017 · A better option would be to bind a shortcut key to "Join Lines", fo i.e. Ctrl + Shift + U. Open Keyboard Shortcuts by either pressing (Ctrl + K Ctrl + S) or through the GUI by …

  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 …