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

  2. Code style options and code cleanup - Visual Studio (Windows)

    Oct 30, 2025 · For all code you edit in Visual Studio based on settings for the text editor .NET Options page or C/C++ Options page. You can also configure Visual Studio to apply code style preferences …

  3. Options, Text Editor, C/C++, Formatting - Visual Studio (Windows)

    Jun 4, 2025 · You can also create a custom format definition .clang-format or _clang-format file. If such a file is present in a project folder, Visual Studio uses it to format all source code files in that folder and …

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

  5. Codeformatoptionen und Codebereinigung - Visual Studio (Windows ...

    Erfahren Sie, wie Sie Visual Studio so konfigurieren, dass Sie Codeformateinstellungen mithilfe des Befehls "Codebereinigung" anwenden.

  6. Automatically reformat Python code in Visual Studio

    Oct 30, 2025 · Automatically format your Python code in Visual Studio, including the code spacing, statements, long line wrapping, and code comments.

  7. How to enforce .NET code format using EditorConfig and GitHub …

    Oct 10, 2023 · In this how-to article, you learn how to enforce your .NET code formatting using EditorConfig and GitHub Actions.

  8. 选项、文本编辑器、C/C++、格式设置 - Visual Studio (Windows)

    还可以创建自定义格式定义 .clang-format 或 _clang 格式文件。 如果此类文件存在于项目文件夹中,Visual Studio 会使用它设置该文件夹中的所有源代码文件及其子文件夹中的格式。 默认情况 …

  9. Define consistent coding styles with EditorConfig - Visual Studio ...

    Jul 22, 2025 · The formatting of existing code isn't changed unless you run the Code Cleanup or Format Document commands. For more information, see Apply code styles. For .NET, Visual Studio shows …

  10. C# formatting options - .NET | Microsoft Learn

    Jan 30, 2025 · Learn about the code style options for formatting C# code files.