re-ovo / unocss-intellij

Unocss support on Intellij Idea/WebStorm
https://plugins.jetbrains.com/plugin/22204-unocss
MIT License
169 stars 12 forks source link

fix: :bug: documentation not working in attribute #43

Closed anyesu closed 8 months ago

anyesu commented 8 months ago

Before:


The hint for the attribute is Custom Vue component property .

image

After


Show correct documentation generated by Unocss.

image

Reason


After debugging, I found that there are multiple targetPointer here, but only the first one is used, which is WebSymbolDocumentationTarget , so changing the order of UnocssDocumentTargetProvider can solve this problem.

image

re-ovo commented 8 months ago

thanks