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

    Apr 22, 2011 · Do you mean "how do you format a block of code with a couple keystrokes"? That seems to be what the popular answers refer to (rather than "how do you auto format" ... as you type/paste/etc).

  2. Format Code with Prettier in Visual Studio Code: Setup Guide

    Jul 31, 2025 · Learn how to format code with Prettier in Visual Studio Code. This guide walks you through installing, configuring, and using Prettier for code formatting.

  3. Default keyboard shortcuts reference - Visual Studio Code

    Default keyboard shortcuts reference VS Code comes with a set of default keyboard shortcuts. This article lists common default keyboard shortcuts in VS Code. For a full list of keyboard shortcuts, use …

  4. How to format or beautify code in Visual Studio Code tutorials

    Step by Step guide to auto-format code on saving manually or automatically in Visual Studio code VSCode shortcut commands and workspace settings tutorials.

  5. How to automatic format code in Visual Studio - Microsoft Q&A

    Sep 13, 2021 · You may of used Format Document on Save Visual Studio extension. Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code with …

  6. Visual Studio Code Shortcuts For Windows and Mac

    Jul 23, 2025 · Top 100+ Excel Shortcut Keys List Conclusion Mastering these basic VS Code keyboard shortcuts can save you a lot of time and boost your coding efficiency. Whether you're deleting lines, …

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

    279 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 selecting …

  8. How to Format Code in VS Code (Visual Studio Code) - Kindacode

    Sep 3, 2023 · Formatting code will increase readability and help you and your team members work more efficiently. This succinct and straight-to-the-point article shows you a couple of different ways to do …

  9. Keyboard shortcuts - Visual Studio (Windows) | Microsoft Learn

    Mar 26, 2026 · Learn about the default keyboard shortcuts in Visual Studio that allow you to access a variety of commands and windows.

  10. How can I make VS Code format my Python code? - Stack Overflow

    Jun 28, 2023 · How to use formatting: The code formatting is available in Visual Studio Code (VSCode) through the following shortcuts or key combinations: On Windows Shift + Alt + F On macOS Shift + …