| ▲ | nthypes a day ago | ||||||||||||||||||||||||||||
How you deal with LSP? One of the best things in OpenCode is LSP integration. | |||||||||||||||||||||||||||||
| ▲ | the_mitsuhiko a day ago | parent | next [-] | ||||||||||||||||||||||||||||
> How you deal with LSP? One of the best things in OpenCode is LSP integration. I would love to learn how LSP helps you. I did various basic evals with LSP and I did not find it to improve the agent performance at all. Maybe on newer models this gets better because they are now RLing with LSP in the context, but at least in the past having a commit hook that runs lints and typecheck at the end, is more token efficient than having every edit be injected extra LSP results. You are almost guaranteed to be wasting tokens since partial edits are unlikely going to result in type checks passing. (Disclaimer: I work on Pi) | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | resonious a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Oh My Pi has it. I'm a big OMP shill right now. Seems not very popular, but it has the stability of Pi with the features Opencode (and more I think; OMP has web browsing and a more advanced edit system too). OMP often outperforms Claude Code and Codex for me. | |||||||||||||||||||||||||||||
| ▲ | 638d127673 a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I haven't tried it myself but there seems to be an extension for this: https://pi.dev/packages/pi-lsp | |||||||||||||||||||||||||||||
| ▲ | melodyogonna a day ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I disliked OpenCode's LSP integration, as Pyright kept distracting the model from what I wanted done in a Django project. I prefer to run MyPy at my own convenience | |||||||||||||||||||||||||||||
| ▲ | lkjdsklf a day ago | parent | prev [-] | ||||||||||||||||||||||||||||
I use a forked version of the pi-lsp. It works pretty well out of the box, but I just tend to fork extensions by default and then hack them up how i see fit. | |||||||||||||||||||||||||||||