mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Contribute run selected to the context menu
This commit is contained in:
parent
345440f62f
commit
83a42a58af
|
@ -109,6 +109,17 @@
|
|||
{
|
||||
"command": "npm.runInstall",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "npm.runSelectedScript",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"editor/context": [
|
||||
{
|
||||
"command": "npm.runSelectedScript",
|
||||
"when": "resourceFilename == 'package.json'",
|
||||
"group": "navigation@+1"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
|
|
|
@ -17,5 +17,5 @@
|
|||
"command.debug": "Debug",
|
||||
"command.openScript": "Open",
|
||||
"command.runInstall": "Run Install",
|
||||
"command.runSelectedScript": "Npm: Run Selected Script"
|
||||
"command.runSelectedScript": "Run Script"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue