windicss / windicss-intellisense

Intelligent WindiCSS tooling for VS Code
https://marketplace.visualstudio.com/items?itemName=voorjaar.windicss-intellisense
MIT License
194 stars 16 forks source link

How to stop suggestions from hiding Svelte component props? #213

Closed dazzoh closed 3 years ago

dazzoh commented 3 years ago

Hi,

I am not sure if this is a bug, but intellisense suggestions for properties on a svelte component are completely hidden by windi class names, which shouldn't even be an option - unless its attributify suggestions.

If this is intended, is there a way to disable it?

Thanks, D

alexanderniebuhr commented 3 years ago

can you please add screenshots or a quick screencast?

dazzoh commented 3 years ago

Sure, see below - cursor is in the space where the arrow is pointing image

alexanderniebuhr commented 3 years ago

Just pushed a fix. please try after it gets update in the marketplace and let me know

dazzoh commented 3 years ago

Awesome, thanks for the quick response this was driving me insane.

dazzoh commented 3 years ago

Thanks, the classes are gone, but the attributify options still show up above the props (it is disabled in my windi.config). Thinking about it, they probably should not be showing in component prop options either as they are not props of the component and would have no effect.

alexanderniebuhr commented 3 years ago

for attributify there is a extension setting https://github.com/windicss/windicss-intellisense/blob/main/package.json#L170 https://github.com/windicss/windicss-intellisense/blob/main/package.json#L175

dazzoh commented 3 years ago

Thanks, that works for components, but now also disables it on native elements (not that I am using attributify so I'm OK with this) - Others might not be, so perhaps worth re-opening.