English | 日本語
⚠️ This project is under development and may not work correctly.
Convert JetBrains .DotSettings (Rider / ReSharper) files to .editorconfig.
Teams that mix Rider with other editors (VS Code, Visual Studio, ...) end up maintaining
formatting rules twice: once in .DotSettings, once in .editorconfig. dot2editor
converts as much as possible automatically and tells you exactly what it could not convert.
$ dotnet tool install --global Dot2Editor.CliRequires the .NET 10 runtime (or later).
$ d2e TeamShared.DotSettings -o .editorconfig
Merged into .editorconfig: 34 added, 1 updated, 0 already up to date.
Skipped 16 entries.
Run with --show-skipped to see what was skipped.Usage: [arguments...] [options...] [-h|--help] [--version]
Arguments:
[0] <string> Path to the .DotSettings file, or "-" to read from standard input.
Options:
-o, --output <string?> Write the result here. An existing file is merged into,
never replaced wholesale. [Default: null]
--overwrite Replace the output file instead of merging into it.
--no-root Omit "root = true" from a newly created file.
--no-header Omit the "generated by" header comment from a newly created file.
--show-skipped List every entry that could not be converted.
-q, --quiet Do not print the summary.
--output never clobbers a file you already have. Existing comments, blank lines,
property order, unrelated sections and unrelated properties are preserved exactly;
only the properties dot2editor generates are updated in place, and missing ones are
appended to their section. Running it twice changes nothing the second time.
# Team style guide - hand maintained, do not clobber
root = true
[*.cs]
# agreed in RFC 12
indent_size = 2 # ← updated to 4, comment kept
dotnet_diagnostic.CA1000.severity = none # ← left alone
# ← converted settings appended herePass --overwrite if you really do want to replace the file.
