About 232,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 …

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

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

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

    Jul 25, 2025 · You can define code style settings per-project by using an EditorConfig file, or for all code you edit in Visual Studio on the text editor .NET Options page or C/C++ Options page. …

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

  6. Codeformatoptionen und Codebereinigung - Visual Studio …

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

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

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

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

  9. Automatically reformat Python code in Visual Studio

    Apr 18, 2024 · Automatically format your Python code in Visual Studio, including the code spacing, statements, long line wrapping, and code comments.

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

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