Skip to content

JSDoc comments do not show when hovering over destructured property #41086

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

Closed
OliverJAsh opened this issue Oct 9, 2020 · 3 comments
Closed
Labels
Duplicate An existing issue was already created

Comments

@OliverJAsh
Copy link
Contributor

OliverJAsh commented Oct 9, 2020

TS Template added by @mjbvz

TypeScript Version: 4.1.0-dev.20201013

Search Terms

  • hover
  • quick info
  • jsdoc

  • VSCode Version: 1.50.0
  • OS Version: macOS latest

Steps to Reproduce:

type Options = {
    /** My test */
    foo: boolean;
};

declare const options: Options;

options.foo; // ✅

const { foo } = options; // ❌

Hover over foo on the last line.

Expected: JSDoc comments shown in hover tooltip
Actual: JSDoc comments are not shown in hover tooltip

gif

Does this issue occur when all extensions are disabled?: Yes

@mjbvz mjbvz transferred this issue from microsoft/vscode Oct 13, 2020
@mjbvz mjbvz removed their assignment Oct 13, 2020
@MartinJohns
Copy link
Contributor

Duplicate of #32392.

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Oct 16, 2020
@RyanCavanaugh
Copy link
Member

Thanks 👍

@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

5 participants