re-ovo / unocss-intellij

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

代码提示的问题 #45

Closed songpeng154 closed 9 months ago

songpeng154 commented 9 months ago

比如我 theme colors 里定义了 primary,设置背景颜色从theme取自定义的颜色,没有代码提示,设置字体颜色的时候就有代码提示

songpeng154 commented 9 months ago

image image image

re-ovo commented 9 months ago

image 你确定没有?多输入一个p看看,有可能排到后面去了吧

songpeng154 commented 9 months ago

image 哥们我输入p的时候没有提示啦,什么提示都没有啦

songpeng154 commented 9 months ago

image webstorm 版本

songpeng154 commented 9 months ago

unocss插件的版本是最新的

re-ovo commented 9 months ago

bg-后面怎么可能一个都没有,再怎么也有pink purple这种吧,你怎么配置unocss的, vite内还是单独的配置文件

songpeng154 commented 9 months ago

bg-后面怎么可能一个都没有,再怎么也有粉紫色这种吧,你怎么配置unocss的,vite内还是单独的配置文件

bg-p后面一个提示也没有,单独的配置文件

songpeng154 commented 9 months ago

image 输入bg-的时候有其他的提示,但是输入bg-p的时候就没有提示了

songpeng154 commented 9 months ago

1704675317166

songpeng154 commented 9 months ago

image image image

re-ovo commented 9 months ago

麻烦写下presets

songpeng154 commented 9 months ago

麻烦写下presets

写那个预设?

re-ovo commented 9 months ago

是的, 或者定义下rules

songpeng154 commented 9 months ago

现在问题是bg-p ,就是连bg-pink 也不提示,text-p就提示了

songpeng154 commented 9 months ago

image 输入全称才会有提示

re-ovo commented 9 months ago

发配置...插件底层调用的Unocss官方语言服务,有问题基本都是因为你配置的问题