Skip to content

Feature: update JSDoc blocks upon refactoring #2452

Closed
@mindplay-dk

Description

@mindplay-dk

Example:

/**
 * @param who who to greet
 */
function hello(who: string) {
    return `Hello, ${who}`;
}

Renaming the who argument currently does not update the @param who annotation, which is then left as incorrect and no longer works.

That's just one example - it would be nice if JSDoc blocks were automatically corrected everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: JSDocRelates to JSDoc parsing and type generationFixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScriptVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions