claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] In vscode workspace, Claude Code always starts in first project

Open precisionpete opened this issue 1 month ago • 0 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I have a VScode workspace with multiple projects with Claude Code.

If I open a file in project 2 then click the Claude icon, It always opens the context in the first project. The only way I can get a context in the second project is to reorder the projects in the workspace. I asked CC how to open it in the second project and it says to do exactly what I was trying to do...

Using Linux Mint 22.2 (24.04), VScode 1.106.3, Claude Code plugin 2.0.55

The behavior has always been like this for me.

What Should Happen?

If I open a file an a project other than the first project in the workspace, CC should launce in that working folder.

Error Messages/Logs

No errors. It works fine. Just not in the correct folder.

Steps to Reproduce

Try it.

Claude Model

Not sure / Multiple models

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.0.28

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

precisionpete avatar Dec 01 '25 15:12 precisionpete