|
54 | 54 | "description": "Whether to show 'Compile File' icon in editor title menu.",
|
55 | 55 | "scope": "resource"
|
56 | 56 | },
|
| 57 | + "acmx.execution.showUpgradeIconInEditorTitleMenu": { |
| 58 | + "type": "boolean", |
| 59 | + "default": true, |
| 60 | + "description": "Whether to show 'Upgrade' icon in editor title menu.", |
| 61 | + "scope": "resource" |
| 62 | + }, |
| 63 | + "acmx.execution.showStressIconInEditorTitleMenu": { |
| 64 | + "type": "boolean", |
| 65 | + "default": true, |
| 66 | + "description": "Whether to show 'Upgrade' icon in editor title menu.", |
| 67 | + "scope": "resource" |
| 68 | + }, |
57 | 69 | "acmx.stress.times": {
|
58 | 70 | "type": "number",
|
59 | 71 | "default": 10,
|
|
154 | 166 | },
|
155 | 167 | {
|
156 | 168 | "command": "acmx.stress",
|
157 |
| - "title": "ACMX: Stress" |
| 169 | + "title": "ACMX: Stress", |
| 170 | + "icon": { |
| 171 | + "light": "./images/stress-light.svg", |
| 172 | + "dark": "./images/stress-dark.svg" |
| 173 | + } |
158 | 174 | },
|
159 | 175 | {
|
160 | 176 | "command": "acmx.upgrade",
|
161 |
| - "title": "ACMX: Upgrade" |
| 177 | + "title": "ACMX: Upgrade", |
| 178 | + "icon": { |
| 179 | + "light": "./images/upgrade-light.svg", |
| 180 | + "dark": "./images/upgrade-dark.svg" |
| 181 | + } |
162 | 182 | },
|
163 | 183 | {
|
164 | 184 | "command": "acmx.compile",
|
|
231 | 251 | "when": "config.acmx.execution.showCompileIconInEditorTitleMenu",
|
232 | 252 | "command": "acmx.compile",
|
233 | 253 | "group": "navigation"
|
| 254 | + }, |
| 255 | + { |
| 256 | + "when": "config.acmx.execution.showUpgradeIconInEditorTitleMenu", |
| 257 | + "command": "acmx.upgrade", |
| 258 | + "group": "navigation" |
| 259 | + }, |
| 260 | + { |
| 261 | + "when": "config.acmx.execution.showStressIconInEditorTitleMenu", |
| 262 | + "command": "acmx.stress", |
| 263 | + "group": "navigation" |
234 | 264 | }
|
235 | 265 | ]
|
236 | 266 | }
|
|
0 commit comments