docs/contributing/Documentation for IDE CodeStyle analyzers.md
Official documentation for all IDE analyzer diagnostic IDs is added to dotnet/docs repo at https://github.com/dotnet/docs/tree/main/docs/fundamentals/code-analysis/style-rules.
Each IDE diagnostic ID has a dedicated documentation page. For example:
We have tabular indices for IDE diagnostic IDs and code style options for easier reference and navigation:
Roslyn IDE team (@dotnet/roslyn-ide) is responsible for ensuring that the documentation for IDE analyzers is up-to-date. Whenever we add a new IDE analyzer, add new code style option(s) OR update semantics of existing IDE analyzers the following needs to be done:
Action required in dotnet/docs repo:
dotnet/docs repo to track this work.No action required in Roslyn repo: Help links have been hooked up to IDE code style analyzers in Roslyn repo in the base analyzer types, so every new IDE analyzer diagnostic ID will automatically have https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ideXXXX as its help link. There is no action required on the Roslyn PR to ensure this linking.
If you feel any of the existing IDE rule docs have insufficient or incorrect information, please submit a PR to dotnet/docs repo to update the documentation.