vscode-svelte-component-extractor Svelte Themes

Vscode Svelte Component Extractor

svelte-extractor

This extension creates a new svelte component from higlighted text.

How to use

  1. Highlight code you want to extract
  2. Ctrl + Shift + P to run command pallete
  3. Select "Svelte Extract Component"
  4. Input new component Name
  5. Your new component is created and imported

New Feature

You can now create the new components in a subdirectory (only tested on mac might break on windows)

Top categories

Loading Svelte Themes