Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/proverbial-ninja/vscode-svelte-component-extractor
https://github.com/proverbial-ninja/vscode-svelte-component-extractor
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/proverbial-ninja/vscode-svelte-component-extractor
- Owner: proverbial-ninja
- Created: 2019-08-10T18:27:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T08:12:56.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T01:16:04.917Z (6 months ago)
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=proverbialninja.svelte-extractor
- Size: 116 KB
- Stars: 30
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# 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![Svelte Component Extractor Demo](https://media.giphy.com/media/UthaofeoJ7Dx4fGFAu/giphy.gif)
## New Feature
You can now create the new components in a subdirectory
(only tested on mac might break on windows)![Create Subdirectory Demo](https://media.giphy.com/media/Me18ZhF8HtTTBt6fcd/giphy.gif)