English | 简体中文
Manage your code snippets in a super easy way!
- Support easily generating code snippets from selected content.
- Support grouping and managing code snippets.
- Automatically detect the corresponding programming language for code snippets.
- Support visual management of code snippet groups through directory structure.
- First, select the content you want to convert into a code snippet, such as:
- Press cmd+k, then press cmd+shift+s, enter the snippets shortcut and confirm.
- Edit the content:
group
: the name of the group to which the code snippet belongs, such asproject-a
.scope
: the scope of the code snippet, such asjavascript
. When left blank, the code snippet can be used in any file.prefix
: the shortcut for the code snippet, such as log for console.log template.description
: the detailed content of the code snippet prompt. To use more syntax for code snippets, please refer to the VSCode official documentation.
- Finally, press
cmd+s
to save the code snippet, and you will be able to see the corresponding code snippet shortcut in the sidebar grouping. Now, we can happily use the code snippets~
MIT