Somewhere to find new .editorconfig rules for c#10 and .NET 6?

Adam Stapleton 101 Reputation points
2021-10-14T15:29:57.377+00:00

Is there somewhere where the newly added code style rules and editor config options are documented (including release dates of them)?

I can't find anywhere with a list of the rules that are added with each version and this makes it difficult to add new rules to an existing project.

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
0 comments No comments
{count} vote

2 additional answers

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2021-10-14T16:33:43.407+00:00

    The editor config options are based on editorconfig.org. This helps developers to define and maintain consistent coding style conventions between different editors Refer https://editorconfig.org/

    You may read the complete specification from https://editorconfig-specification.readthedocs.io/

    For Visual studio specific settings, you may refer https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes-v15.0#coding-convention-support-through-editorconfig

    If you are using Visual Studio for Mac, refer

    https://github.com/mikerochip/editorconfig-monodevelop#readme

    Hope this helps


  2. Xingyu Zhao-MSFT 5,381 Reputation points
    2021-10-18T03:12:24.717+00:00

    Hi @Adam Stapleton ,
    Some references you may need:

    You can report any issues you find with .NET 6 here.

    Hope them could be helpful.

    Best Regards,
    Xingyu Zhao
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.