dotnet / dotnet/docs

EditorConfig: Include the minimum supported Visual Studio (or Roslyn/MSBuild) version

Open
#43,800 0 comments 1 reaction 1 assignee Claimed by @gewarren View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Type of issue

Missing information

### Description

I still update my `.editorconfig` files by hand when new C#/.NET/VS versions release, because the EditorConfig UI tends to mess with my formatting and unrelated sections for different file types (both of which is already reported over at dotnet/roslyn).

The [Code Style rule overview](https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/#index) page is a great reference to learn about what rule keys are available for use in an `.editorconfig` file, but it has the shortcoming of not telling me which entries are new.
(Yes, I can go stare at the Diff, and that's what I'm currently doing, but I feel like this should be easy enough to add as part of authoring that table.)

So, would it be too much to ask to add a **"Version"** (or "Supported with Visual Studio" or similar) column that has the Visual Studio version this rule/diagnostic ID was introduced in? Or the Roslyn, MSBuild or whatever version makes more sense, if they're not limited to Visual Studio versions.
This would allow me to use my browser search to quickly go through items that are new starting with Visual Studio version x.y.

The table doesn't have any sorting (or filtering) at the moment, and I don't know if the webpage generator supports this in any way, but that would also make navigating this table a lot more practical. But compared to adding the version in first place, this would be more like the cherry on top.

### Page URL

https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/fundamentals/code-analysis/style-rules/index.md

### Document Version Independent Id

6d91b560-c12f-6e6d-e92b-1babb27edb67

### Article author

@gewarren

### Metadata

* ID: b0a396c1-9c21-75a9-70b5-799cafc941b5
* Service: **dotnet-fundamentals**

[Related Issues](https://github.com/dotnet/docs/issues?q=is%3Aissue+is%3Aopen+6d91b560-c12f-6e6d-e92b-1babb27edb67)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.