belav / csharpier

CSharpier is an opinionated code formatter for c#.
https://csharpier.com
MIT License
1.41k stars 98 forks source link

Sorting of usings with underscore differs from Visual Studio #1327

Closed RudyMauro-Datamind closed 3 months ago

RudyMauro-Datamind commented 3 months ago

Input:

using Api.Repositories._Core;
using Api.Repositories.Helpers;

Output:

using Api.Repositories.Helpers;
using Api.Repositories._Core;

Expected behavior: It should match the behavior of Visual Studio's "Sort usings"

using Api.Repositories._Core;
using Api.Repositories.Helpers;
seoj-trifork commented 2 months ago

Are there some docs about sorting using? I was looking for a tool that does this, I didn't know Csharpier did it because I couldn't find it in the docs.