-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.1 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3.1 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
{
"name": "code-action-from-commands",
"displayName": "Code Action from Commands",
"publisher": "crendking",
"description": "Create Code Action that executes sequence of commands",
"version": "0.1.4",
"license": "See license in LICENSE.txt",
"engines": {
"vscode": "^1.49.0"
},
"categories": [
"Other"
],
"keywords": [
"code",
"action",
"command"
],
"icon": "media/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/CrendKing/vscode-code-action-from-commands"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Code Action from Commands",
"properties": {
"codeActionFromCommands.codeActions.definitions": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"commands": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of command IDs, which are executed in sequence."
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "List of [language identifiers](https://code.visualstudio.com/docs/languages/identifiers#_known-language-identifiers) in which the code action is defined. Leave undefined to include all languages."
}
},
"required": [
"commands"
]
},
"description": "Mapping from Code Action name to its definition.",
"examples": [
{
"tabToSpaces": {
"commands": [
"editor.action.indentationToSpaces"
]
}
},
{
"previewMarkdown": {
"commands": [
"markdown.showPreview"
],
"languages": ["markdown"]
}
}
]
}
}
}
},
"scripts": {
"vscode:prepublish": "bun run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "latest",
"@types/vscode": "latest",
"@vscode/vsce": "latest",
"typescript": "latest"
}
}