About 141,000 results
Open links in new tab
  1. How can I change keyboard shortcut bindings in Visual Studio Code?

    Using Visual Studio Code what is the procedure to: Remap a built in command's keyboard shortcut. For example, say, Open File (default is Ctrl+O, it's unlikely that anyone would …

  2. Key shortcut for running python file in VS code - Stack Overflow

    Apr 27, 2022 · In VS Code, I'm writing python code. I was wondering if there is a key shortcut to run the file instead of pressing the run button in the right top corner of the screen constantly.

  3. How do I fold/collapse/hide sections of code in Visual Studio Code?

    Learn how to fold, collapse, or hide sections of code in Visual Studio Code effectively for better code organization and readability.

  4. How do I duplicate a line or selection within Visual Studio Code?

    May 13, 2015 · Using Microsoft's Visual Studio Code, how do I duplicate a line of code and then move it up and down? (Similar to Sublime's cmd+shift+d behaviour)

  5. How to indent/format a selection of code in Visual Studio Code?

    276 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 …

  6. How can you create multiple cursors in Visual Studio Code

    Feb 2, 2017 · What are the keyboard shortcuts for creating multiple cursors in VS Code?

  7. How to switch between terminals in Visual Studio Code?

    Jan 25, 2018 · 4 Pay attention to the the VS Code concept of Group, as that can trip you up when reading some of the answers here. i.e there are different default shortcuts to switch between …

  8. Collapse all methods in Visual Studio Code - Stack Overflow

    Mar 8, 2017 · In Visual Studio Professional, we have a shortcut key, Ctrl + M Ctrl + O to collapse all methods and properties in a class. How can I do a similar thing in Visual Studio Code? I …

  9. Duplicate line in Visual Studio Code - Stack Overflow

    Sep 29, 2023 · I am trying to find the shortcut for duplicating a line in Visual Studio Code (I am using 1.3.1) I tried the obvious CTRL + D but that doesn't seem to work.

  10. VS Code - Add a new file under the selected working directory

    Sep 20, 2016 · Edit shortcuts file Hit Cmd + Shift + p type key and hit enter on Preferences: Open Keyboard Shortcuts (JSON) This will open keybindings.json file which stores custom …