diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-24 08:01:37 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-24 08:01:37 +0800 |
| commit | daf29a92ed88135589a49dea4f370d98ac29462d (patch) | |
| tree | 84e18fdf67a8c7faadb488b7c29cdd4da88c45c7 /.vscode | |
| parent | 4491b1eb9318ea2bf3dff564caba707415f8e600 (diff) | |
Add dev_tool cargo alias and editor task definitions
Diffstat (limited to '.vscode')
| -rw-r--r-- | .vscode/tasks.json | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..26460c1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,122 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Mingling CI", + "command": "cargo ci", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "TEST: All *.md Codes", + "command": "cargo dev_tool test-all-markdown-code", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "TEST: Current *.md Codes", + "command": "cargo dev_tool test-all-markdown-code -- \"${fileRelative}\"", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: All", + "command": "cargo dev_tool refresh-docs && cargo dev_tool docs-code-box-fix && cargo dev_tool docsify-sidebar-gen && cargo dev_tool refresh-feature-mod && cargo dev_tool sync-examples", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: Docs Code Box Fix", + "command": "cargo dev_tool docs-code-box-fix", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: Docsify Sidebar Gen", + "command": "cargo dev_tool docsify-sidebar-gen", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: Docs", + "command": "cargo dev_tool refresh-docs", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: Feature Mod", + "command": "cargo dev_tool refresh-feature-mod", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + { + "label": "REFRESH: Sync Examples", + "command": "cargo dev_tool sync-examples", + "type": "shell", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "shared", + "showReuseMessage": true, + "clear": false, + }, + }, + ], +} |
