Skip to content

JSDoc preview not showing object keys description #30432

@negebauer

Description

@negebauer
  • VSCode Version: 1.32.3
  • OS Version: macOS Mojave 10.14.2

Intellisense doesn't show an object's keys description when the object description is present.

demo bug

Steps to Reproduce:

  1. Create a file test.js
  2. Paste this code
/**
 * @param {Object} options options for foo
 * @param {String} options.o1 an option for foo
 * @param {String} options.o2 another option for foo
 */
function foo(options) {

}
  1. Hover over foo, you will see only the description for options
  2. Remove the line * @param {Object} options options for foo
  3. Hover over foo, you will see the description of each key

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SuggestionAn idea for TypeScriptToo ComplexAn issue which adding support for may be too complex for the value it adds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions