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

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

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

    Sep 7, 2015 · Visual Studio 2019 now natively supports this keyboard shortcut -- Toggle Block Comment/Uncomment is now available through the keyboard shortcut (Ctrl+Shift+/) or through …

  5. How to comment and uncomment blocks of code in the Office …

    Apr 2, 2018 · In the VBA editor, go to View, Toolbars, Customise... or right click on the tool bar and select Customise... Under the Commands tab, select the Edit menu on the left. Then …

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

  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. Format SQL in SQL Server Management Studio - Stack Overflow

    Feb 13, 2020 · In Visual Studio & other IDEs, you can easily auto format your code with a keyboard shortcut, through the menu, or automatically as you type. I was wondering if there is …

  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 …