dotnet / dotnet/sdk

Enable dotnet format to sort members

Open
#52,656 0 comments 0 reactions 0 assignees View on GitHub
Area-Format untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
Usually, .NET guidelines make a several sorting of class members mandatory, for example public properties before private fields and so on. (Automatic) formatting already serves a lot of guidelines, but not this part.

### Describe the solution you'd like
It would be nice to be able to define a anticipated sorting in the .editorconfig and let dotnet format take care of the sorting of class members.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.