
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.
How do you format code in Visual Studio Code (VSCode)?
Apr 30, 2015 · Visual Studio Code allows the user to customize the default settings. If you want to auto format your content while saving, add the below code snippet in the work space settings …
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 …
Format Code in Visual Studio (With Indentation)
May 10, 2025 · In this article, I have mentioned shortcut to format code in Visual Studio, which you can use format any document in Visual studio.
Is there a format code shortcut for Visual Studio?
Feb 9, 2011 · In Eclipse there is a shortcut, Ctrl+Shift+F, that re-indents code and fixes comments and blank lines. Is there an equivalent for Visual Studio 2010?
Code Style Options and Code Cleanup - Visual Studio (Windows)
Jan 6, 2026 · Learn how to configure Visual Studio to apply code style preferences using the Code Cleanup command.
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 …
Keyboard shortcuts - Visual Studio (Windows) | Microsoft Learn
Oct 4, 2024 · Learn about the default keyboard shortcuts in Visual Studio that allow you to access a variety of commands and windows.
Codeformatoptionen und Codebereinigung - Visual Studio …
Erfahren Sie, wie Sie Visual Studio so konfigurieren, dass Sie Codeformateinstellungen mithilfe des Befehls "Codebereinigung" anwenden.
How do you auto format code in Visual Studio on save?
Jan 21, 2020 · The plugin Format document on Save seems to to do what you ask: Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code …