🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › ide › create-portable-custom-editor-options
Define Consistent Coding Styles with EditorConfig - Visual Studio (Windows) | Microsoft Learn
When you add an EditorConfig file to your project or codebase, Visual Studio formats any new lines of code you write according to the EditorConfig file settings. However, Visual Studio doesn't convert existing styles to the new ones until you format the document or run Code Cleanup.
🌐
HackerNoon
hackernoon.com › how-to-set-up-a-formatting-standard-in-your-code-editor-and-why-you-should
How to Set up a Formatting Standard in Your Code Editor (And Why You Should!) | HackerNoon
January 8, 2023 - # Top-most EditorConfig file. root = true # Section for C# files # All rules below apply only to .cs files [*.cs] #### Core EditorConfig Options #### # Indentation and spacing indent_style = space indent_size = 4 # New line preferences end_of_line = crlf insert_final_newline = false trim_trailing_whitespace = true # Charset preference charset = utf-8
file format for defining coding styles (that is supported by various text editor plugins)
Icon for package editorconfig.core
EditorConfig is an open specification and file format for syntax highlighting, text editors and integrated development environment (IDEs) that aims to maintain a consistent coding style, particularly aimed at groups working together. … Wikipedia
Factsheet
Type of format INI configuration file
Standard spec.editorconfig.org
Open format ? Yes
Factsheet
Type of format INI configuration file
Standard spec.editorconfig.org
Open format ? Yes
🌐
EditorConfig
editorconfig.org
EditorConfig
EditorConfig files use an INI format that is compatible with the format used by Python configparser Library, but [ and ] are allowed in the section names. The section names are filepath globs (case sensitive), similar to the format accepted by gitignore. Only forward slashes (/, not backslashes) ...
🌐
JetBrains
jetbrains.com › help › idea › editorconfig.html
EditorConfig | IntelliJ IDEA Documentation
December 1, 2025 - You can make changes in the preview ... when you close the .editorconfig file. Reformat your code. You can reformat a code fragment, a file, or all files in a directory. Alternatively, you can configure the IDE to reformat your code on save....
🌐
JetBrains
jetbrains.com › help › rider › Using_EditorConfig.html
Use EditorConfig | JetBrains Rider Documentation
August 10, 2026 - JetBrains Rider will create or update the .editorconfig file in the specified location. You can also save formatting styles to EditorConfig after contextual configuration of formatting rules.
🌐
Microsoft Learn
learn.microsoft.com › en-us › community › content › how-to-enforce-dotnet-format-using-editorconfig-github-actions
How to enforce .NET code format using EditorConfig and GitHub Actions | Microsoft Learn
To create an EditorConfig file, you have a few options: Open your .NET project/solution in Visual Studio 2022. Click Tools > Options > Text Editor > C# > Code Style > General. Then click Generate .editorconfig file from settings.
🌐
Medium
medium.com › @benjaminabt › auto-format-your-code-on-save-with-visual-studio-6ff479fe2182
Auto Format your Code on save with Visual Studio | by BEN ABT | Medium
November 27, 2024 - +---------------------------------------+----------------------------------------------------------------------------------------------------+ | Option | Description | +---------------------------------------+----------------------------------------------------------------------------------------------------+ | Add accessibility modifiers | Adds missing modifiers such as public or private | | Order modifiers | Sorts the modifiers in the correct order | | Remove unnecessary casts | Removes unnecessary casts that make the code more cumbersome to read | | Format document | Formats the document co
Find elsewhere
🌐
GitHub
github.com › editorconfig › editorconfig-vscode › issues › 453
Extension ignores editor.formatOnSave setting · Issue #453 · editorconfig/editorconfig-vscode
October 3, 2025 - As per title, the extension ignores "editor.formatOnSave": false, setting. Even when the property is off, the file (in my case, a .c file) is still formatted on save.
Author: editorconfig
🌐
JetBrains
jetbrains.com › help › resharper › Using_EditorConfig.html
Use EditorConfig | ReSharper Documentation
August 10, 2026 - By default, ReSharper writes the settings to a new .editorconfig file in the root directory of the current solution. If one or more .editorconfig files exist, ReSharper will use the closest file in the directory hierarchy to save the settings.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Format document on Save - Visual Studio Marketplace
Extension for Visual Studio - Enables auto formatting of the code when you save a file. Visual Studio supports auto formatting of the code with the CTRL+E,D or CTRL+E,F key shortcuts but with this extension the VS command 'Format Document' is ...
🌐
GitHub
github.com › editorconfig › editorconfig › issues › 316
vs code extension causes files to auto-format on save · Issue #316 · editorconfig/editorconfig
July 23, 2017 - Hi, Using VS Code 1.14.2 with the latest editorconfig extension (0.9.4). Recently, it seems to have started auto formating on save. Because I use the save on delay option in VS code, this starts formating my code before I am done writing it.
Author: editorconfig
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
EditorConfig - Visual Studio Marketplace
April 8, 2026 - Extension for Visual Studio Code - EditorConfig Support for Visual Studio Code
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Format on Save for VS2022 - Visual Studio Marketplace
Extension for Visual Studio - Automatically format document on save. Current release includes RemoveAndSort, FormatDocument, UnifyLineBreak, UnifyEndOfFile, TabToSpace, ForceUtf8WithBom with file extension filters.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Format on Save - Visual Studio Marketplace
Extension for Visual Studio - Automatically format document on save. Current release includes RemoveAndSort, FormatDocument, UnifyLineBreak, UnifyEndOfFile, TabToSpace, ForceUtf8WithBom with file extension filters.
🌐
GitHub
github.com › dotnet › roslyn › issues › 76256
Support `dotnet_format_on_save` in .editorconfig · Issue #76256 · dotnet/roslyn
December 4, 2024 - Also apparently you can run Code Cleanup profiles on Save: https://learn.microsoft.com/en-us/community/content/how-to-enforce-dotnet-format-using-editorconfig-github-actions#enforcing-code-style-on-save
Author: dotnet
🌐
Editorconfig
docs.editorconfig.org › en › master › editorconfig-format.html
EditorConfig: EditorConfig File Format
EditorConfig files use an INI format that is compatible with the format used by Python ConfigParser Library, but [ and ] are allowed in the section names. The section names are filepath globs, similar to the format accepted by gitignore. Forward slashes (/) are used as path separators and ...
🌐
Dilan's Blog
dilanlivera.dev › what-is-a-editorconfig-file-and-how-to-use-it
What is a .editorconfig file, and how to use it? - Dilan's Blog
July 23, 2021 - I am using Visual Studio Code. EditorConfig extension for Visual Studio Code supports applying some of the rules(i.e. end_of_line insert_final_newline and trim_trailing_whitespace) on file save.
🌐
GitHub
github.com › editorconfig › editorconfig-vscode › issues › 78
Using "Format Code" feature ignores editorconfig settings after updating VS Code to 1.6.0 · Issue #78 · editorconfig/editorconfig-vscode
October 10, 2016 - You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert · {{ message }} There was an error while loading. Please reload this page. editorconfig / editorconfig-vscode Public · Notifications · You must be signed in to change notification settings · Fork 140 · Star 1.4k · New issueCopy link · New issueCopy link · Closed · Closed · Using "Format Code" feature ignores editorconfig settings after updating VS Code to 1.6.0#78 ·
Author: editorconfig
🌐
Editorconfig
spec.editorconfig.org › index.html
EditorConfig Specification — EditorConfig Specification 0.17.2 documentation
It is equivalent to an .editorconfig file that contains only one line, root = false. Changed in version 0.15.0. A ; or # anywhere other than at the beginning of a line does not start a comment, but is part of the text of that line. For example: ... This specification does not define any “escaping” mechanism for ; or # characters. ... The EditorConfig file format formerly allowed the use of ; and # after the beginning of the line to mark the rest of a line as comment.