Fix #172 regarding new/configure context menu actions in explorer view not working anymore

pull/208/head
Kelvin Schoofs 4 years ago
parent 26abb22372
commit 33eb94b1ff

@ -114,12 +114,19 @@
"group": "SSH FS@7" "group": "SSH FS@7"
} }
], ],
"view/item/context": [ "view/title": [
{ {
"command": "sshfs.new", "command": "sshfs.new",
"when": "view == 'sshfs-configs' && !viewItem", "when": "view == 'sshfs-configs'",
"group": "SSH FS@1" "group": "SSH FS@1"
}, },
{
"command": "sshfs.settings",
"when": "view == 'sshfs-configs' && !(viewItem)",
"group": "SSH FS@6"
}
],
"view/item/context": [
{ {
"command": "sshfs.connect", "command": "sshfs.connect",
"when": "view == 'sshfs-configs' && viewItem == inactive", "when": "view == 'sshfs-configs' && viewItem == inactive",
@ -139,11 +146,6 @@
"command": "sshfs.configure", "command": "sshfs.configure",
"when": "view == 'sshfs-configs' && viewItem", "when": "view == 'sshfs-configs' && viewItem",
"group": "SSH FS@5" "group": "SSH FS@5"
},
{
"command": "sshfs.settings",
"when": "view == 'sshfs-configs' && !viewItem",
"group": "SSH FS@6"
} }
] ]
}, },

Loading…
Cancel
Save