This extension allows you to efficiently create, display, and delete code snippets. Snippets are small pieces of code that you can store and reuse whenever necessary.
Commands
The "Spark" extension provides the following commands:
1. Create Snippet
Command: Create snippet
Description: This command allows you to create a new snippet from selected code in your file. You will be prompted to provide a name for the snippet.
2. Show Snippets
Command: Show snippet
Description: This command displays a list of all the snippets you have saved. You can select a snippet from the list and insert it into your active file.
3. Delete Snippet
Command: Delete snippet
Description: This command deletes an existing snippet. You can select the snippet you want to delete from the list, and it will be permanently removed.
How to Use
To use the "Spark" extension, follow these steps:
Select the code you want to save as a snippet.
Execute the "Create Snippet" command by clicking on the option in the menu.
Provide a name for the snippet.
The snippet will be stored and can be accessed later.
To insert saved snippets into your active code, use the "Show snippet" command. You can run it by pressing Ctrl+Shift+P, typing "Show snippet" at the prompt, or using F1 and typing the same command.
To delete unnecessary snippets, use the "Delete snippet" command. You can run it by pressing Ctrl+Shift+P, typing "Delete snippet" at the prompt, or using F1 and typing the same command.
Contributions
This project is open to contributions. If you want to improve the "Spark" extension, feel free to create pull requests or report issues on the GitHub repository.
License
This project is licensed under the MIT License. Refer to the LICENSE file for details.