Auto Import for SvelteKit (or VSCode import suggestion)
See original GitHub issueLike I mentioned here https://github.com/antfu/unplugin-icons/issues/142#issuecomment-1054581854, Im trying to use auto-import with SvelteKit and wondered if it is supported at all.
Or if VSCode could somehow suggest imports of something like < IconMdiAccountBox/>
I would be happy also very happy.
What can we do to get this working/supported?
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Svelte Auto Import - Visual Studio Marketplace
Extension for Visual Studio Code - Automatically finds, parses and provides code actions and code completion for all available imports.
Read more >import completions not showing (VSCode) · Issue #195 - GitHub
Describe the bug In VSCode, import suggestions for other .svelte ... there would be auto-import completion for components outside the import ...
Read more >Enable JavaScript auto-import suggestions in VS Code
Auto -import problems If you work on JavaScript projects in VS Code, you've almost... Tagged with javascript, vscode, webdev.
Read more >VS Code auto imports not using absolute paths and not indented
While I can't help with the exact solution,. I can propose a workaround that will save you some work. Import Path:.
Read more >Any idea how to make VSCode auto import work with a lerna ...
But if I try to use the interface from the backend package vscode auto import won't show any suggestions. packages/backend/src/index.ts:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@silasabbott yes you can use auto import in suelte and sveltekit, check the examples folder in the auto import repo
This plugin only serves the icon as virtual modules. Auto-importing is out of the scope of this plugin. Maybe you can find a plugin for Svelte that work nicely with this plugin, or even write one your own.