Skip to content

Fixed JSDoc display on JsxNamespacedName attributes #61825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andarist
Copy link
Contributor

@Andarist Andarist commented Jun 6, 2025

fixes #61820

@Copilot Copilot AI review requested due to automatic review settings June 6, 2025 18:57
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Jun 6, 2025
@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Jun 6, 2025
Copy link

@Copilot 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

This PR fixes the JSDoc display on JsxNamespacedName attributes by ensuring that the quick info correctly shows associated documentation.

  • Added a new fourslash test to verify the proper display of JsxNamespacedName documentation.
  • Updated the services logic to handle JsxNamespacedName cases within object literal elements.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/cases/fourslash/quickInfoOnJsxNamespacedNameWithDoc1.ts Added a tests case to validate JSDoc rendering on JsxNamespacedName attributes.
src/services/services.ts Added support for SyntaxKind.JsxNamespacedName in object literal element handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
Status: Not started
Development

Successfully merging this pull request may close these issues.

JSX JsxNamespacedName breaks JSDoc + QuickInfo in VSCode
2 participants