Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bfd214

Browse files
committed
Remove coder.openFromSidebar from command list
When searching for "open workspace" in the palette, this can come up instead of the correct one (`coder.open`, also titled "open workspace"). coder.openFromSidebare should only be used to open workspaces from the sidebar, it never makes sense for a user to manually run it from the command palette because even if you have a tree item selected, it will not be passed when running from the command palette; the tree item only exists if you click the inline button. If there was a way to get the selected tree item, it would be ideal to enable the command while there was one (this would also allow adding a key binding), but since there is not, use `false` to always hide it.
1 parent 2d428eb commit 1bfd214

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@
192192
}
193193
],
194194
"menus": {
195+
"commandPalette": [
196+
{
197+
"command": "coder.openFromSidebar",
198+
"when": "false"
199+
}
200+
],
195201
"view/title": [
196202
{
197203
"command": "coder.logout",

0 commit comments

Comments
 (0)