正在加载视频...

视频加载失败

OpenCode having LSP support is pretty cool Added a rename symbol tool to test refactors - 379 updates done correctly in 22s on my stress test Also tried with Claude Code to compare but gave up on waiting for it to complete

34,689 次观看 • 10 个月前 •via X (Twitter)

25 条评论

dax 的头像
dax10 个月前

nice wanted to play with this at some point but hard to tell if adding more tools makes things net worse until we have better benchmarks demo is pretty compelling though

Rhys 的头像
Rhys10 个月前

Are you able to do it in the same way that you did the Stripe MCP demo a while back where you let it just guess what the right args need to be and it's only one tool? i.e callLSP - anecdotally I've found that's when I get the best results from them

dax 的头像
dax10 个月前

interesting hadn't thought to try that

Rhys 的头像
Rhys10 个月前

here's a PR i've got of it if you wanna try it out: gonna run it on my localcode for a bit to see how it feels & having Claude generate a benchmark of ~12 test cases atm to see how it performs w/ LSP tool vs not having one

Rhys 的头像
Rhys10 个月前

tbh this PR doesn't really match the vibe of the single stripe tool w/ simple inputs

vogel 的头像
vogel10 个月前

I really need to look into this more

winston 的头像
winston10 个月前

@beyang this was what I was talking about — not just diagnotics but actually have lsp as a built in tool!

Daniel Rollins 的头像
Daniel Rollins10 个月前

This is ace. Honestly, back when I first heard OpenCode had LSP support, this is kind of what I expected. I assumed it meant for efficiently finding symbols and references, and renaming. So I was surprised it still using grep/sed for those things.

Kevin Courbet 的头像
Kevin Courbet10 个月前

Have you ever used Claude Code extensively, like invested in it with skills, plugins, commands etc? Just gauging whether I should give Open Code a go

Q 的头像
Q10 个月前

I built one on here: with full lsp tools support and async subagents

Henry Ng. 的头像
Henry Ng.10 个月前

I think we should better promt or only run the lsp check on done, some day ago, gpt5.1codex rejected to continue implementing because of types error

David Hapunkt 的头像
David Hapunkt10 个月前

How can you add this to OpenCode?

koushik 的头像
koushik10 个月前

for me it just eslint as lsp and not typescript wonder why

Noam Lewis 的头像
Noam Lewis10 个月前

Did you try adding a similar tool as mcp to Claude? It's not as convenient to configure manually versus out of the box, but it's interesting to compare

Ragnsan Valla 的头像
Ragnsan Valla10 个月前

O shit. Pls share!!

Jaga santagostino 的头像
Jaga santagostino10 个月前

I've always wondered why this feature wasn't copied already by other, seems a nobrainer

Tommy D. Rossi 的头像
Tommy D. Rossi10 个月前

instead of passing the character index I would pass the name to replace. that's easier for the LLM

Kyle 的头像
Kyle10 个月前

i nee to try that out

Q 的头像
Q10 个月前

Thought he didn't know about mine but basically he saw mine and implemented this lool

Galin Denev 的头像
Galin Denev10 个月前

Where do these tools lsp_ come from? Dont have them in my opencode even though LSPs are loaded?

Yang Zhao 的头像
Yang Zhao10 个月前

Why can’t we just implement an Agent Skill to do the same in CC?

Andrew Gazelka 的头像
Andrew Gazelka10 个月前

why not just use claude code mcp

Carlos Lebron 的头像
Carlos Lebron10 个月前

22s for 379 updates is solid. Claude Code must’ve gone on a coffee break

Rhys 的头像
Rhys10 个月前

@nikitabier can you just ban this guy for using AI replies for a week I’ll Venmo you $20 if you do

Ram A P 的头像
Ram A P10 个月前

That’s some serious renaming magic, must've waved a wand 🪄

相关视频