Option for indentation #645
Labels
area:documentation
Improvements or additions to documentation
area:formatting
priority:medium
type:enhancement
New feature or request
Milestone
First, thanks for this project!
I'm a big fan of Prettier and really happy to see a similar formatting tool for C#.
I understand the opiniated Prettier philosophy of keeping options to a strict minimum that is now frozen, but I feel like indent style (tabs vs spaces) and width are amongst the few things that should be configurable.
They are (unreasonably) very polarizing and forcing spaces might hinder adoption of Csharpier.
I'm sure you're aware that Prettier does let you configure them:
https://prettier.io/docs/en/options.html#tab-width
Also observe the default Prettier tab-width is
2
, csharpier uses4
.The best part is that it seems you already have full support for those option, they just need to be exposed?
https://github.com/belav/csharpier/blob/master/Src/CSharpier.Cli/ConfigurationFileOptions.cs#L44-L48
The text was updated successfully, but these errors were encountered: