EDH without a workspace folder: all coauthoring commands fail with "command not found" #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found: session 0007 post-ship manual play (2026-06-10). Release-blocking for the current build.
activate()returns before registering any F2/F3 commands whenworkspaceFoldersis empty (src/extension.ts:41), so every contributed command except the POCshowClineSdkInfoerrors withcommand 'cowriting.editSelection' not found. The stock.vscode/launch.jsonlaunches the Extension Development Host without a folder, so plain F5 lands exactly in this broken state.Fix:
launch.json: pass the repo folder to the EDH so F5 opens a usable workspace.Lineage: F2 #4 / F3 #6 (both commands gated behind the same guard); Epic #1.
Reopening: the launch.json half of the fix points the EDH at
${workspaceFolder}— the repo itself — which is already open in the dev window, and VS Code refuses to open one folder in two windows, so plain F5 still lands folderless (now with the stub warning instead of "command not found"). Fix: point the EDH at a committedsandbox/playground subfolder instead.