Opencode can't tell what my work folder is #4293

Open
opened 2026-02-16 17:43:18 -05:00 by yindo · 1 comment
Owner

Originally created by @jiehai4 on GitHub (Jan 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

I opened OpenCode in the VSCode terminal, and I asked it questions about my project, but it told me it couldn't see where my project was at all. Why is that? Claude Code knows my project folder, but OpenCode doesn't. Did I miss a step?

Originally created by @jiehai4 on GitHub (Jan 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question I opened OpenCode in the VSCode terminal, and I asked it questions about my project, but it told me it couldn't see where my project was at all. Why is that? Claude Code knows my project folder, but OpenCode doesn't. Did I miss a step?
Author
Owner

@github-actions[bot] commented on GitHub (Jan 6, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6978: Can not switch the project in web mode - related to project folder detection and path recognition in web mode
  • #6910: Folders that havent been set up with remotes yet seem to completely break - related to folder initialization issues
  • #6899: [FEATURE]: Add a command to add more dirs - feature request for adding directories support

Additionally, issue #6982 discusses IDE-specific path detection challenges with IntelliJ that may have similar root causes to your VSCode workspace detection issue.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 6, 2026): This issue might be a duplicate of existing issues. Please check: - #6978: Can not switch the project in web mode - related to project folder detection and path recognition in web mode - #6910: Folders that havent been set up with remotes yet seem to completely break - related to folder initialization issues - #6899: [FEATURE]: Add a command to add more dirs - feature request for adding directories support Additionally, issue #6982 discusses IDE-specific path detection challenges with IntelliJ that may have similar root causes to your VSCode workspace detection issue. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4293