Skip to content

jsDoc use overloaded function documentations in intellisense. #30940

@aliemre1990

Description

@aliemre1990

Issue Type: Feature Request

It would be nice to see variations of functions documented like below code, when typing the function. I documented overloaded function according to this link jsdoc/jsdoc#1017 .

/**
 * Returns imported styles in 'dir/dir/style.scss' format.
 * @returns {string[]} Imported style's paths.
 *//**
* Returns imported styles in 'dir/dir/style.scss' format.
* @param {string} content File content to be used in operation.
* @returns {string[]} Imported style's paths.
*/
StyleFile.prototype.getImportedStylePaths = function (content) {
    if (!content)
        content = this.content;
....
}

Current behavior when typing.
issue-overload-1
Expected to be like below. ( Would like to see '+ overload').
issue-overload-2
And current behavior after typing
issue-overload-3
Expected. I would like to move with arrows between variations.
overload-issue-4

VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.17134

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions