Skip to content

Point analyzers help url to specific analyzer doc page#66402

Open
Youssef1313 wants to merge 1 commit intomainfrom
dev/ygerges/analyzer-help
Open

Point analyzers help url to specific analyzer doc page#66402
Youssef1313 wants to merge 1 commit intomainfrom
dev/ygerges/analyzer-help

Conversation

@Youssef1313
Copy link
Copy Markdown
Member

This PR changes the help link of ASPxxxx analyzers to point to the specific analyzer page instead of a generic url that is used for all analyzers.

Fixes #56514

Copilot AI review requested due to automatic review settings April 21, 2026 10:21
@github-actions github-actions Bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Apr 21, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates ASP.NET Core analyzer diagnostic help links so that IDE “Help” actions navigate to the documentation page for the specific analyzer ID (e.g., ASP0018), instead of a generic analyzers landing page.

Changes:

  • Replaced per-descriptor helpLinkUri initialization with a shared CreateDiagnosticDescriptor(...) factory.
  • Added GetHelpLinkUri(diagnosticId) to generate per-ID Learn doc URLs.

@Youssef1313 Youssef1313 added the analyzer Indicates an issue which is related to analyzer experience label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

analyzer Indicates an issue which is related to analyzer experience needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor quick help link goes to generic landing page for error rather than the page for the error (Code analysis)

2 participants