Skip to content

fix: correct copy-pasted JSDoc on provideInlineValues method#322701

Open
jachinsamuel wants to merge 1 commit into
microsoft:mainfrom
jachinsamuel:fix/jsdoc-provide-inline-values
Open

fix: correct copy-pasted JSDoc on provideInlineValues method#322701
jachinsamuel wants to merge 1 commit into
microsoft:mainfrom
jachinsamuel:fix/jsdoc-provide-inline-values

Conversation

@jachinsamuel

Copy link
Copy Markdown

Description

This PR corrects the copy-pasted JSDoc comment above the provideInlineValues method in the InlineValuesProvider interface. The comment was copy-pasted from HoverProvider and incorrectly referenced "hovers being merged", which is not applicable to inline debug values.

How to test

Verify that the updated JSDoc in src/vs/editor/common/languages.ts correctly describes inline values (mirroring the public API description in vscode.d.ts).

Copilot AI review requested due to automatic review settings June 24, 2026 10:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the internal API documentation in src/vs/editor/common/languages.ts to correct a copy-pasted JSDoc for InlineValuesProvider.provideInlineValues, aligning it with the public API description in src/vscode-dts/vscode.d.ts.

Changes:

  • Replaced the incorrect hover-related JSDoc on provideInlineValues with an inline-values-specific description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants