How to make VSCode prioritize the installed components over radix? #2004
-
Hello! Every time is copy/paste a component and select "import all missing deps" VSCode prioritizes the Radix-imports over the components I have installed. Is there a way to fix this? |
Beta Was this translation helpful? Give feedback.
Answered by
yuki-yamamura
Jan 29, 2024
Replies: 1 comment 1 reply
-
If you use TypeScript, add the line below to "typescript.preferences.autoImportFileExcludePatterns": ["@radix-ui"] ref: #2535 (comment) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
benjick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use TypeScript, add the line below to
settings.json
. It will work after reloading your VSCode.ref: #2535 (comment)