microsoft / typescript-lit-html-plugin

TypeScript server plugin that adds intellisense for lit-html template strings
MIT License
255 stars 22 forks source link

QuickInfo for web components / custom elements (Feature Request) #28

Open JNotelddim opened 5 years ago

JNotelddim commented 5 years ago

It'd be great if there was a way to get quickinfo for our custom elements through a docstring or something.

To clarify, when I hover a regular html tag, it'll give me a tooltip with quick info on that element. image

I'd like to have the same for my custom elements, potentially by adding a class docstring in the View-Model of the custom element? image

I figure my use of custom-elements might be too specific to the Aurelia framework and this might not be nearly as practical as I might like to think haha. So no worries if it's not a reasonable request.