zjffun / vscode-snippets-manager

Create and edit snippets easily.
https://marketplace.visualstudio.com/items?itemName=zjffun.snippetsmanager
MIT License
36 stars 5 forks source link
snippets vscode vscode-extension

Snippets Manager

English | 简体中文

Create and edit snippets easily.

This extension is built over the default VS Code Snippets system, wrapping it into a nice and intuitive UI, improving usability, and making snippets easy to create, edit, delete and search. It supports user-custom snippets, global snippets and snippets from installed extensions.

video

Features

Manage snippets

Create, edit, delete or search snippets.

manager

Create snippets

Select range to create a snippet.

Edit snippets

Open *.code-snippets in Snippets Editor and edit it.

edit

Notice:

Edit snippet body in text editor

You can edit snippet body in text editor by click the edit button aside "Body".

edit body

Undo/Redo

This extension provides a custom VS Code editor, so you can use VS Code shortcuts to undo/redo. By default, in Windows undo is Ctrl+Z redo is Ctrl+Shift+Z, in macOS undo is ⌘Z redo is ⇧⌘Z.

Select other editors open the *.code-snippets file

You can right-click the *.code-snippets file then left-click the Open Whit... option to select other editors to open the *.code-snippets file or set the default editor to open *.code-snippets files.

Search snippets

Search workspace, user or extension snippets.

search

Copy & Paste snippets

Copy&Paste snippets across workspace, user or extension.

copy paste

Darg & Drop snippets

Drag&Drop snippets across workspace, user or extension.

drag and drop

Settings

snippetsManager.autoCloseSnippetBodyEditor

Controls whether to automatically close the code snippet body editor after saving, Default: true.

Usually this option needs to be turned off when using files.autoSave.

Install via CLI

code --install-extension zjffun.snippetsmanager

Release Notes

Contribute