diff --git a/package.json b/package.json
index bf7687cc..710f947f 100644
--- a/package.json
+++ b/package.json
@@ -192,6 +192,12 @@
       }
     ],
     "menus": {
+      "commandPalette": [
+          {
+              "command": "coder.openFromSidebar",
+              "when": "false"
+          }
+      ],
       "view/title": [
         {
           "command": "coder.logout",
diff --git a/src/commands.ts b/src/commands.ts
index f2956d29..d26dae09 100644
--- a/src/commands.ts
+++ b/src/commands.ts
@@ -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()
     }
   }