Загрузка видео...

Не удалось загрузить видео

На главную

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 🪄

Похожие видео