Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SparkNew to Visual Studio Code? Get it now.
Spark

Spark

SunnyDev

|
2,946 installs
| (0) | Free
An extension that helps you save your code snippets easily
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Spark

Introduction

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:

  1. Select the code you want to save as a snippet.

  2. Execute the "Create Snippet" command by clicking on the option in the menu.

Command Example

  1. Provide a name for the snippet.

  2. The snippet will be stored and can be accessed later.

  3. 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.

  4. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft