logoalt Hacker News

joshuaccyesterday at 7:53 PM1 replyview on HN

Cursor, Copilot, Roo Code, Cline, among others.


Replies

nextaccounticyesterday at 10:03 PM

Hi, I just looked up and two weeks ago someone made this suggestion in Cursor forum

https://forum.cursor.com/t/support-of-lsp-language-server-pr...

> Feature request for product/service

>

> Cursor IDE

>

> Describe the request

>

> It would be a huge step up if agent could interact with LSP (Language Server Protocol).

>

> It would offer :

>

> renaming all instances of a symbol over all files in one action

> quick navigation through code : fast find of all references to a property or method

> organize imports, format code, etc…

And last Friday a Cursor engineer replied "Thanks for the idea!"

So how does the AI agent in Cursor currently have access to LSP?

(I am most interested in having the agent use LSP for type checking, documentation of a method call, etc. rather than running slower commands)

(note, there is an open PR for Zed to pull LSP diagnostics into an AI agent thread https://github.com/zed-industries/zed/pull/42270 but it would be better if agents could make arbitrary LSP queries or something like that)