theron-wang/VS2022-Editor-Support-for-Tailwind-CSS

[Feature Request] Add css snippet inline or as a tooltip to autocomplete list

gpshonik opened this issue · 5 comments

Thank you for this extension, it was very much needed for VS 2022.

Would it be possible to add the actual css for the official tailwind classes to the auto complete as follows?

image

This is an example from the official tailwind extension for VS Code.

Thank you!

This is definitely a needed feature. I added it into the extension, but I did change make the CSS show up as a description instead of a suffix (as shown in this gif):

IntelliSense-Demo-1

Thanks for the suggestion!

Hmm.. that’s strange. I will try to test it and see if I can reproduce it. If possible, could you send the image again (it shows up as [image: image.png])?

Sorry about that, not sure what happened with the image.

image

Edit: if there are any logs I can provide, please let me know.

No worries about the image. I'm having trouble reproducing this, so is it possible if you could attach your tailwind.config.js? Also, some exceptions are logged to the 'Extensions' output window (same menu as the Build output window), so if there is anything there, could you please provide that?

I also created a new issue for this, if you could respond there: #8

Thanks!