selemondev / vscode-shadcn-vue

Shadcn Vue VSCode extension to help you install and use components directly without leaving your IDE :sparkles:
https://marketplace.visualstudio.com/items?itemName=Selemondev.shadcn-vue
MIT License
25 stars 0 forks source link

shadcn suggestions prioritized over built-in emmet suggestions for e.g. 'div' #17

Closed olemarius closed 11 months ago

olemarius commented 11 months ago

Describe the bug When writing 'div' and hitting tab, I'm not getting tab but the alert snippet. Is there some way to put the suggstions after the built in emmet code completions ?

To Reproduce Steps to reproduce the behavior:

  1. Type div and hit tab

Expected behavior Getting

Screenshots image

Additional context Add any other context about the problem here.

selemondev commented 11 months ago

Thanks @olemarius for opening this issue. I have reproduced the issue but everything works fine on my end. Maybe reloading the extensions might help :smile:

Here are the screenshots:

Screenshot 2023-11-21 at 21 09 11 Screenshot 2023-11-21 at 21 09 16
olemarius commented 11 months ago

Sorry, my bad! After looking at the code it didn't make sense that this should be different between our environments, so I did some digging and found that it's a vscode setting that I didn't know about 😅

"editor.snippetSuggestions": "top",

Removing this resolves the issue