-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
209 lines (209 loc) · 6.92 KB
/
Copy pathpackage.json
File metadata and controls
209 lines (209 loc) · 6.92 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
{
"name": "rust-quick-run",
"displayName": "Rust Quick Run",
"description": "Quickly compile, run and debug individual Rust files without Cargo",
"version": "1.0.0",
"publisher": "joshivilas",
"repository": {
"type": "git",
"url": "https://github.com/joshivilas/rust-quick-run"
},
"icon": "images/icon.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Debuggers"
],
"keywords": [
"rust",
"rustc",
"debug",
"run",
"compile",
"quick run"
],
"activationEvents": [
"onLanguage:rust"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "rustQuickRun.run",
"title": "Rust Quick Run: Run File",
"icon": "$(play)"
},
{
"command": "rustQuickRun.debug",
"title": "Rust Quick Run: Debug File",
"icon": "$(debug-alt)"
},
{
"command": "rustQuickRun.build",
"title": "Rust Quick Run: Build File",
"icon": "$(tools)"
},
{
"command": "rustQuickRun.checkSyntax",
"title": "Rust Quick Run: Check Syntax",
"icon": "$(check)"
},
{
"command": "rustQuickRun.clean",
"title": "Rust Quick Run: Clean",
"icon": "$(trash)"
},
{
"command": "rustQuickRun.setArguments",
"title": "Rust Quick Run: Set Command Line Arguments",
"icon": "$(terminal)"
}
],
"keybindings": [
{
"command": "rustQuickRun.run",
"key": "ctrl+shift+r",
"when": "editorLangId == rust"
},
{
"command": "rustQuickRun.debug",
"key": "f5",
"when": "editorLangId == rust && !inDebugMode"
},
{
"command": "rustQuickRun.build",
"key": "ctrl+shift+b",
"when": "editorLangId == rust"
}
],
"menus": {
"editor/context": [
{
"command": "rustQuickRun.run",
"when": "editorLangId == rust",
"group": "rustQuickRun@1"
},
{
"command": "rustQuickRun.debug",
"when": "editorLangId == rust",
"group": "rustQuickRun@2"
},
{
"command": "rustQuickRun.build",
"when": "editorLangId == rust",
"group": "rustQuickRun@3"
}
],
"editor/title": [
{
"command": "rustQuickRun.run",
"when": "editorLangId == rust",
"group": "navigation@1"
},
{
"command": "rustQuickRun.debug",
"when": "editorLangId == rust",
"group": "navigation@2"
}
],
"explorer/context": [
{
"command": "rustQuickRun.run",
"when": "resourceExtname == .rs",
"group": "rustQuickRun@1"
},
{
"command": "rustQuickRun.debug",
"when": "resourceExtname == .rs",
"group": "rustQuickRun@2"
},
{
"command": "rustQuickRun.build",
"when": "resourceExtname == .rs",
"group": "rustQuickRun@3"
}
]
},
"configuration": {
"title": "Rust Quick Run",
"properties": {
"rustQuickRun.outputDirectory": {
"type": "string",
"default": "",
"description": "Directory for compiled output. Leave empty to use system temp directory."
},
"rustQuickRun.optimizationLevel": {
"type": "string",
"default": "0",
"enum": [
"0",
"1",
"2",
"3",
"s",
"z"
],
"enumDescriptions": [
"No optimizations (fastest compile)",
"Basic optimizations",
"Standard optimizations",
"Maximum optimizations",
"Optimize for size",
"Optimize for minimum size"
],
"description": "Optimization level for compilation"
},
"rustQuickRun.showWarnings": {
"type": "boolean",
"default": true,
"description": "Show compiler warnings in Problems panel"
},
"rustQuickRun.clearTerminalBeforeRun": {
"type": "boolean",
"default": true,
"description": "Clear terminal before running"
},
"rustQuickRun.saveBeforeRun": {
"type": "boolean",
"default": true,
"description": "Automatically save file before running"
},
"rustQuickRun.showCodeLens": {
"type": "boolean",
"default": true,
"description": "Show Run/Debug CodeLens above main function"
},
"rustQuickRun.commandLineArguments": {
"type": "string",
"default": "",
"description": "Command line arguments to pass to the program"
}
}
}
},
"extensionDependencies": [],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.56.0",
"mocha": "^11.7.5",
"typescript": "^5.3.3"
}
}