mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Added inline action to run a script
This commit is contained in:
parent
ab4231d6d2
commit
fece020cc2
|
@ -45,7 +45,11 @@
|
|||
"commands": [
|
||||
{
|
||||
"command": "npm.runScript",
|
||||
"title": "%command.run%"
|
||||
"title": "%command.run%",
|
||||
"icon": {
|
||||
"light": "resources/light/continue.svg",
|
||||
"dark": "resources/dark/continue.svg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "npm.debugScript",
|
||||
|
@ -88,6 +92,11 @@
|
|||
"when": "view == npm && viewItem == script",
|
||||
"group": "navigation@2"
|
||||
},
|
||||
{
|
||||
"command": "npm.runScript",
|
||||
"when": "view == npm && viewItem == script",
|
||||
"group": "inline"
|
||||
},
|
||||
{
|
||||
"command": "npm.debugScript",
|
||||
"when": "view == npm && viewItem == script",
|
||||
|
|
1
extensions/npm/resources/dark/continue.svg
Normal file
1
extensions/npm/resources/dark/continue.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.icon-canvas-transparent,.icon-vs-out{fill:#f6f6f6;}.icon-canvas-transparent{opacity:0;}.icon-vs-action-green{fill:#ffffff;}</style></defs><title>continue</title><g id="canvas"><path class="icon-canvas-transparent" d="M16,0V16H0V0Z"/></g><g id="outline" style="display: none;"><path class="icon-vs-out" d="M14.334,8,3.667,16H3V0h.667Z"/></g><g id="iconBg"><path class="icon-vs-action-green" d="M4,1.5v13L12.667,8,4,1.5Z"/></g></svg>
|
After Width: | Height: | Size: 505 B |
1
extensions/npm/resources/light/continue.svg
Normal file
1
extensions/npm/resources/light/continue.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.icon-canvas-transparent,.icon-vs-out{fill:#f6f6f6;}.icon-canvas-transparent{opacity:0;}.icon-vs-action-green{fill:#000000;}</style></defs><title>continue</title><g id="canvas"><path class="icon-canvas-transparent" d="M16,0V16H0V0Z"/></g><g id="outline" style="display: none;"><path class="icon-vs-out" d="M14.334,8,3.667,16H3V0h.667Z"/></g><g id="iconBg"><path class="icon-vs-action-green" d="M4,1.5v13L12.667,8,4,1.5Z"/></g></svg>
|
After Width: | Height: | Size: 505 B |
Loading…
Reference in a new issue