Skip to content

daniel68045/snippet-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A VS Code (version 1.75.0 or higher) extension to generate, delete, import and export code snippets

Commands

Generate

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

  2. Open the Command Palette (Cmd + Shift + P / Ctrl + Shift + P)

  3. Select Generate Code Snippet

  4. Provide a name (prefix) and description for the snippet when prompted

  5. The snippet will be saved globally and added to SavedSnippets.md in your project

Import

  1. Open the Command Palette

  2. Select Import External Snippets

  3. Choose a saved JSON snippet file you want to import

  4. Specify the language for the imported snippets when prompted

  5. The snippets will be added globally and logged in SavedSnippets.md

Export

  1. Open the Command Palette

  2. Select Export Snippets

  3. Choose a location to save the exported JSON file

Delete

  1. Open the Command Palette

  2. Select Delete Snippet

  3. Choose the snippet file (e.g., javascript.json) to delete from

  4. Select the specific snippet to remove

Feedback

About

Visual Studio Code extension for creating/importing/exporting reusable code snippets

Resources

License

Stars

Watchers

Forks

Packages

No packages published