Claude WorkspaceKeep Claude Code (and any other extension that only looks at the first folder) focused on the project you're actually working in, inside a multi-root VSCode workspace. The problemIf you open several projects in one VSCode window using a multi-root workspace (a The usual workaround is one VSCode window per project, so each window's first (and only) folder is always the right one. That works, but it costs RAM for every extra window you keep open. What it doesRight-click a folder in the Explorer and choose "Focus Claude Code Sessions Here". That folder moves to the front of the workspace, so Claude Code (and anything else that only looks at the first folder) is immediately focused on it. This reloads extensions and closes other open terminals: only the terminal for the newly-focused folder is left, either an existing one brought to the front, or a new one opened there if none exists. Prefer the keyboard? Run "Claude Workspace: Focus Claude Code On…" from the Command Palette and pick the folder from the list instead. If you run the Claude Code CLI directly in a terminal instead of the VSCode extension, keep in
mind that switching focus closes that terminal, killing whatever InstallInstall it from the VS Code Marketplace: search for Claude Workspace Focus in the Extensions view, or open the Marketplace page. It updates automatically like any other extension. From a
|