Skip to content

Support active workspace folder for Pi terminals#12

Open
0xff26b9a8 wants to merge 2 commits into
pithings:mainfrom
0xff26b9a8:main
Open

Support active workspace folder for Pi terminals#12
0xff26b9a8 wants to merge 2 commits into
pithings:mainfrom
0xff26b9a8:main

Conversation

@0xff26b9a8

@0xff26b9a8 0xff26b9a8 commented May 25, 2026

Copy link
Copy Markdown

Summary

  • Resolve Pi terminal cwd from the workspace folder containing the active editor in multi-root windows
  • Apply the same active-workspace cwd selection to the terminal profile, Open with File context, and @pi chat RPC
  • Support VS Code-style variables in pi-vscode.path, including ${userHome}, ${workspaceFolder}, ${workspaceFolder:name}, ${env:NAME}, and ${/}
  • Add unit coverage for active workspace selection, fallback behavior, and configured path variable expansion

Verification

  • pnpm run fmt
  • pnpm run typecheck
  • pnpm exec vitest run test/resolve.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant