Dot2Editor.Cli 0.1.2

dotnet tool install --global Dot2Editor.Cli --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Dot2Editor.Cli --version 0.1.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Dot2Editor.Cli&version=0.1.2
                    
nuke :add-package Dot2Editor.Cli --version 0.1.2
                    

dot2editor

English | 日本語

CI NuGet NuGet License: MIT

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.

Install

$ dotnet tool install --global Dot2Editor.Cli

Requires the .NET 10 runtime (or later).

Usage

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

Merging into an existing .editorconfig

--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 here

Pass --overwrite if you really do want to replace the file.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.1.2 72 8/16/2026