About 227,000 results
Open links in new tab
  1. How do you auto format code in Visual Studio? - Stack Overflow

    Apr 22, 2011 · I know Visual Studio can auto format to make my methods and loops indented properly, but I cannot find the setting.

  2. c# - Visual Studio /**/ comment shortcut? - Stack Overflow

    Sep 7, 2015 · In the box "Show Commands Containing" type "Comment" and add a shortcut keys as follows: Edit.CommentSelection (Fig. 1) Set Global ShortCut - Ctrl + / Click Assign; …

  3. How to select all text up to the cursor? - Stack Overflow

    Jun 14, 2017 · Sublime Text editor: Is there a shortcut to select everything below this point and everything above this point 5 Is there a command to select everything between a range of …

  4. Multiline editing in Visual Studio Code - Stack Overflow

    Ctrl + Alt + [Arrow Key] is a common keyboard shortcut for screen rotation, certainly with Intel graphics drivers and / or associated software. I imagine it is being intercepted by this before …

  5. How can we save all files in (VSCode) like we do in Visual Studio

    May 3, 2016 · For Windows users, the key shortcut is displayed as the 11th option in the "File" menu as: Save All Ctrl + K S. The key shortcut displayed equates to the following: Press Ctrl + …

  6. Visual Studio Code functional snippet React - Stack Overflow

    Jul 19, 2021 · Based on the answer of @Niko, that provides the useful ${TM_FILENAME_BASE} placeholder, here is a snippet for Typescript functional component that, besides naming the …

  7. Can GitHub Copilot stop auto-suggesting, instead be triggered by …

    Feb 22, 2022 · This prevents the hints from showing up while you type by default. But you can still access them on demand using alt+\ default shortcut. Then, you can press tab to accept the …

  8. How do I select a single line within Visual Studio Code?

    May 18, 2018 · So what I did was simply delete the commands in the keyboard shortcut (i.e. ⌘ + K ⌘ + S) that were similar. They ended up being shortcuts for the live server extension. You …

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

  10. How do you format code in Visual Studio Code (VSCode)?

    Apr 30, 2015 · Alternatively, you can find the shortcut, as well as other shortcuts, through the submenu View / Command Palette, also provided in the editor with Ctrl +Shift+ P (or …

Refresh