Hacker News new | ask | show | jobs
by hmcdona1 87 days ago
Can someone explain how Claude Code can instantly determine what file I have open and what lines I have selected in VS Code even if it's just running in a VS Code terminal instance, yet I cannot for the life of me get OpenCode to come anywhere close to that same experience?

The OpenCode docs suggest its possible, but it only works with their extension (not in an already open VS Code terminal) with a very specific keyboard shortcut and only barely at that.

1 comments

The claude code application installs a VSCode extension on first run that handles this communication. Seems like OpenCode is lacking this integration.
OpenCode does the same thing, its just completely lacking this functionality despite hinting otherwise.