Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
Limit runnable context menu scope
Browse files Browse the repository at this point in the history
  • Loading branch information
queil committed Feb 12, 2021
1 parent 563b0d7 commit 6e54064
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ring-vscode",
"displayName": "ring!",
"description": "",
"version": "0.1.5",
"version": "0.1.6",
"icon": "media/ring.128.png",
"publisher": "account-technologies",
"license": "Apache-2.0",
Expand Down Expand Up @@ -119,43 +119,43 @@
"menus": {
"view/item/context": [
{
"when": "true",
"when": "view == runnables",
"command": "ring.restartRunnable"
},
{
"when": "true",
"when": "view == runnables",
"command": "ring.stopRunnable"
},
{
"when": "true",
"when": "view == runnables",
"command": "ring.startRunnable"
},
{
"when": "true",
"when": "view == runnables",
"command": "ring.revealContainingWorkspace"
},
{
"when": "viewItem =~ /.*,workDir,.*/",
"when": "view == runnables && viewItem =~ /.*,workDir,.*/",
"command": "ring.revealInExplorer"
},
{
"when": "viewItem =~ /.*,kubernetesPods,.*/",
"when": "view == runnables && viewItem =~ /.*,kubernetesPods,.*/",
"command": "ring.revealInOctant"
},
{
"when": "viewItem =~ /.*,uri,.*/",
"when": "view == runnables && viewItem =~ /.*,uri,.*/",
"command": "ring.browseRunnable"
},
{
"when": "viewItem =~ /.*,workDir,.*/",
"when": "view == runnables && viewItem =~ /.*,workDir,.*/",
"command": "ring.openFolder"
},
{
"when": "viewItem =~ /.*,workDir,.*/",
"when": "view == runnables && viewItem =~ /.*,workDir,.*/",
"command": "ring.openTerminal"
},
{
"when": "false",
"when": "view == runnables && false",
"command": "ring.debugRunnable"
}
]
Expand Down

0 comments on commit 6e54064

Please sign in to comment.