Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
78 lines (78 loc) · 2.43 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
{
"id": "code-runner",
"name": "code-runner",
"description": "运行代码/文件到终端,支持Node Js、ts、less、scss、Python、Bash/Shell、c/c++、cmd、Go、PHP、Java等各种语言",
"displayName": "code-runner",
"version": "0.0.2",
"publisher": "oneone",
"engines": {
"HBuilderX": "^3.1.19"
},
"categories": [
"Other"
],
"main": "./extension",
"activationEvents": [
"onCommand:codeRunner.run",
"onCommand:codeRunner.LanguageExecutorMap",
"onCommand:codeRunner.about"
],
"contributes": {
"expressions": {
"excludeFileType": "langId != 'txt' && langId != 'json' && langId != 'markdown' && langId != 'yaml'"
},
"commands": [{
"command": "codeRunner.run",
"title": "Run Code"
}, {
"command": "codeRunner.LanguageExecutorMap",
"title": "ExecutorMap"
}, {
"command": "codeRunner.about",
"title": "关于"
}],
"menus": {
"editor/context": [{
"command": "codeRunner.run",
"group": "copy",
"when": "editorTextFocus && expression.excludeFileType"
},
{
"group": "copy"
}
],
"explorer/context": [{
"command": "codeRunner.run",
"group": "openInExplorer",
"when": "explorerResourceCount == 1 && !explorerResourceIsWorkspaceFolder && expression.excludeFileType"
}, {
"group": "openInExplorer"
}],
"menubar/tool": [
{
"title": "Code-Runner",
"group": "ext_settings",
"id": "Code-Runner"
},
{
"group": "Code-Runner@1"
},
{
"command": "codeRunner.LanguageExecutorMap",
"group": "Code-Runner@1"
},
{
"command": "codeRunner.about",
"group": "Code-Runner@2"
},
{
"group": "ext_settings"
}
]
}
},
"extensionDependencies": [
"plugin-manager"
],
"dependencies": {}
}