opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Connect to running LSP process

Open paulroemer opened this issue 4 weeks ago • 1 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

General idea: Share the LSP process used by IDEs with OpenCode

Not all LSPs are easy to configure nor do they are lightweight (e.g. JDTLS). Also being on the same page as the coding agent when it comes to diagnostic data is beneficial.

Requirements:

  1. Implement a mechanism to lookup the correct process
  2. Allow to communicate to the process

Before going into the details I would like to hear your thoughts.

paulroemer avatar Jan 07 '26 09:01 paulroemer

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

  • #4410: Export LSP functionality through @opencode-ai/plugin for custom tools - discusses sharing LSP with external tools
  • #1939: tui: ability to view active lsps - relates to LSP integration and visibility in OpenCode
  • #3730: ENOTCONN: issue with Zed and ACP on Windows - discusses IDE integration and process communication
  • #6982: IntelliJ + OpenCode fails to interact with .iml files - discusses IDE environment and process context sharing

These issues discuss related aspects of IDE integration, LSP sharing, and process communication that may be relevant to this feature request.

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

github-actions[bot] avatar Jan 07 '26 09:01 github-actions[bot]