Skip to content

Improve rendering of JSDoc comment text with displayparts #43085

Closed
@sandersn

Description

@sandersn

#41877 improves parsing of jsdoc comment text as well as giving the language service the option of providing display parts for comments instead of text. Currently everything is just "text" except for links. However, with small tweaks to code like getCommentDisplayParts in services/jsDoc.ts, it would be possible to format @param names as "parameterName", @template names as "typeParameterName", etc.

This could make display a lot prettier.

Note: depends on #41877 being merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions