Skip to content

Commit

Permalink
Remove coder.openFromSidebar from command list (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher authored Oct 1, 2024
1 parent 2d428eb commit 36f00ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@
}
],
"menus": {
"commandPalette": [
{
"command": "coder.openFromSidebar",
"when": "false"
}
],
"view/title": [
{
"command": "coder.logout",
Expand Down
4 changes: 4 additions & 0 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ export class Commands {
treeItem.workspaceFolderPath,
true,
)
} else {
// If there is no tree item, then the user manually ran this command.
// Default to the regular open instead.
return this.open()
}
}

Expand Down

0 comments on commit 36f00ed

Please sign in to comment.