Made this vscode extension that helps to extract a component
- Highlight code you want to extract
- Ctrl + Shift + P to run command pallete
- Select "Svelte Extract Component"
- Input new component Name
- Your new component is created and imported
you can find it here
https://marketplace.visualstudio.com/items?itemName=proverbialninja.svelte-extractor
Top comments (0)