mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Open script on single click
This commit is contained in:
parent
ee2ed2f200
commit
bb1119e0b1
|
@ -80,17 +80,17 @@
|
|||
"group": "navigation"
|
||||
},
|
||||
{
|
||||
"command": "npm.runScript",
|
||||
"command": "npm.openScript",
|
||||
"when": "view == npm && viewItem == script",
|
||||
"group": "navigation@1"
|
||||
},
|
||||
{
|
||||
"command": "npm.debugScript",
|
||||
"command": "npm.runScript",
|
||||
"when": "view == npm && viewItem == script",
|
||||
"group": "navigation@2"
|
||||
},
|
||||
{
|
||||
"command": "npm.openScript",
|
||||
"command": "npm.debugScript",
|
||||
"when": "view == npm && viewItem == script",
|
||||
"group": "navigation@3"
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ class NpmScript extends TreeItem {
|
|||
this.task = task;
|
||||
this.command = {
|
||||
title: 'Run Script',
|
||||
command: 'npm.runScript',
|
||||
command: 'npm.openScript',
|
||||
arguments: [this]
|
||||
};
|
||||
this.iconPath = {
|
||||
|
|
Loading…
Reference in a new issue