anomalyco / anomalyco/opencode

OpenCode VS Code extension doesn't aware of my selection in VS Code

Open
#40,540 2 comments 1 reaction 1 assignee View on GitHub

@rekram1-node is already working on this.

Since Aug 5, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

I managed to install the opencode extension manually in VS Code and I launched a terminal via Cmd+Esc, but my LLM seems not aware of my selection or active tabs in VS Code. I asked LLM like "can you see my selection" or "what's my opened tabs in VS Code", and LLM always told me no.

But the extension's shortcut like File Reference Shortcuts worked as expected.

Version: 1.18.13 (latest)
Date: 2026-08-05T00:33:27.765Z
OS: macOS 25.3.0 (arm64)
Terminal: vscode 1.132.0
Session ID: ses_030ae5b9fffe2d4EDml7QJhu5i
Model: github-copilot/claude-sonnet-5

Plugins

N/A

OpenCode version

1.18.13

Steps to reproduce

No response

Screenshot and/or share link
Image
Operating System

macOS 25.3.0 (arm64)

Terminal

vscode 1.132.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.