opencode icon indicating copy to clipboard operation
opencode copied to clipboard

How to make use of the LSP?

Open jgordijn-ah opened this issue 1 week ago • 2 comments

Question

I see that OpenCode supports LSP, but how can I use it? When I ask specifically, OpenCode doesn't know what to do. I tried many things, but didn't see it do anything with the LSP.

Image

jgordijn-ah avatar Dec 20 '25 09:12 jgordijn-ah

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

  • #711: How to get opencode to use LSP?

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

github-actions[bot] avatar Dec 20 '25 09:12 github-actions[bot]

I had a quick look. The LSP diagnostics are given to the LLM in the output of the edit or write tools, allowing it to adjust according to diagnostic messages.

justfortheloveof avatar Dec 20 '25 23:12 justfortheloveof