Skip to content

Support parsing TSDoc string comments #95408

Closed

Description

Hi there! I am using String Literal types to define classnames and would love to populate with some more information.

So basically:

type TClassnames = 
   /** Some docs about red-500 */
    | 'bg-color-red-500'
   /** Some docs about red-600 */
    | 'bg-color-red-600'

I would love to populate the docs on the right side of the intellisense:

Screenshot 2020-02-12 at 07 31 36

This is how we can document with properties:

Screenshot 2020-02-12 at 10 10 59

Which would be amazing to have on string literals.

I thought it was a TSDoc issue, but given this context: microsoft/tsdoc#164, it seems to be VSCode not parsing it?

Activity

  1. changed the title [-]Support parting TSDoc string comments[/-] [+]Support parsing TSDoc string comments[/+] on Apr 16, 2020
  2. mjbvz commented on Apr 16, 2020

    @mjbvz
    Contributor

    This feature is powered by the TypeScript project. Please file an issue upstream so that they can take a look

  3. added
    typescriptTypescript support issues
    upstreamIssue identified as 'upstream' component related (exists outside of VS Code)
    on Apr 16, 2020
  4. locked and limited conversation to collaborators on May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

typescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions