This extension creates a new svelte component from higlighted text.
- 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 now create the new components in a subdirectory (only tested on mac might break on windows)