Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.21 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "command-to-quickfix",
"displayName": "Command to Quick Fix",
"description": "Show any VS Code command as a Quick Fix (Ctrl+.) code action",
"version": "0.1.0",
"publisher": "ddhq",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/aiiddqd/ddhq.git",
"directory": "includes/command-to-quickfix"
},
"bugs": {
"url": "https://github.com/aiiddqd/ddhq/issues"
},
"homepage": "https://github.com/aiiddqd/ddhq/tree/main/includes/command-to-quickfix",
"keywords": [
"vscode",
"quickfix",
"code-actions",
"ai-agents",
"copilot",
"cursor",
"commands"
],
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Command to Quick Fix",
"properties": {
"commandToQuickFix.actions": {
"type": "array",
"default": [],
"markdownDescription": "Commands to show as Quick Fix code actions. Each entry: `command` (required), `title` (defaults to command id), `when` (`always` | `editorHasSelection` | `!editorHasSelection` | `editorLangId == <id>`), `kind` (`quickfix` | `refactor` | `source`), `order` (lower = higher in the list).",
"items": {
"type": "object",
"required": [
"command"
],
"properties": {
"command": {
"type": "string",
"description": "Command id to execute, e.g. `kimi.insertMention`"
},
"title": {
"type": "string",
"description": "Title shown in the Quick Fix menu"
},
"when": {
"type": "string",
"default": "always",
"description": "Show condition: always | editorHasSelection | !editorHasSelection | editorLangId == <id>"
},
"kind": {
"type": "string",
"enum": [
"quickfix",
"refactor",
"source"
],
"default": "quickfix"
},
"order": {
"type": "number",
"default": 0,
"description": "Sort order of own entries (lower = higher)"
}
}
}
},
"commandToQuickFix.showWhenNoSelection": {
"type": "boolean",
"default": false,
"markdownDescription": "Show entries without an explicit `when` when there is no selection."
},
"commandToQuickFix.preferredKind": {
"type": "string",
"enum": [
"quickfix",
"refactor",
"source"
],
"default": "quickfix",
"description": "Default CodeAction kind for entries without an explicit kind."
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node --test \"out/test/*.test.js\""
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.4.0"
}
}