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

Hover tooltips for Tailwind classes show duplicate tips

Closed this issue · 9 comments

When hovering over a class, the tooltip shows the same tips four times.

hover-tooltips

This should be fixed with the latest update. Thank you for reporting this bug!

It's still the same problem for me. I've downloaded your updated version, disabled and enabled the extension, uninstalled and reinstalled it, but the same four duplicate rows still show up when hovering.
I'm using the latest Visual Studio version, 17.7.3.

screen

Sorry, do you think you could provide your tailwind.config.js so I can reproduce this?

Ofcourse, here it is:

/** @type {import('tailwindcss').Config} */ module.exports = { content: [ './Pages/**/*.cshtml'], theme: { extend: {}, }, plugins: [], }

Hi again!

For your information, after updating to the latest build this happen:

Untitled-2

Ok, thanks for letting me know. I’ll see what I can do once I have some time.

I was unable to reproduce either one of the issues, but I did make some changes to try to fix the issue.

Especially regarding the performance issue, I changed how the package was initialized, but if you still encounter significant performance hits, please let me know.

Thanks!

After installing your new update, everything is fine: no duplicated tooltips when hovering over a class, nor is Visual Studio complaining about slow performance.
Thank you for creating this awesome extension!

Untitled-2

No problem! Happy to hear that.