Snippet Files
Supports multiple code snippet file formats. You can directly use source code files of various languages as code snippets for import and use, or use the predefined dedicated snippet file format .snip.
.snip Snippet Files
Supports the use of predefined snippet files. In the future, this file type will gradually support more preset parameters.
Snippet Configuration Tag: <set></set>
You can use JSON format within the tag to configure snippet-related settings.
json
{
"id": "meil70yxvrspyksivg9",
"name": "example1755610553769",
"displayName": "Example Snippet 1755610553769",
"description": "This is an example code snippet",
"language": "javascript",
"cmd": "",
"tags": [],
"createdAt": "2025-08-19T13:35:53.769Z"
}Supported Parameters
| Parameter | Required | Default Value | Description |
|---|---|---|---|
| name | No | Uses filename by default | Name |
| displayName | No | Display name | |
| description | No | Snippet description | |
| language | No | Language | |
| cmd | No | Command (will be supported in the future) | |
| tags | No | Uses file extension by default | Snippet tags (will be supported in the future) |
| createdAt | No | Snippet creation time, automatically created when saved |
Code Snippet Tag: <code></code>
This tag is used to store the snippet content.