Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Language Server Protocol is created by Microsoft, RedHat and Codenvy, which provides language features (e.g. completion, navigation, formatting, and so on) through JSON-based RPC protocol...

I'm missing out on this. Is it on par (at least potentially - in terms of what it enables you to implement) with JetBrains IDEs and ReSharper already?



I haven't used LSPs too much, but I'll say they work to a good degree.

IDEA is hyper optimized for their target languages, from what I know Intellij builds custom engines for every language, so at least in some aspects (large scale refactoring) and at least for now, IDEA and its siblings are a step ahead.

But for 90%ile tasks, LSP is good enough.


> custom engines for every language

Isn't a language server an engine custom built for a particular language?

> at least for now, IDEA and its siblings are a step ahead.

For the languages they supported back then, they have been [almost] as good 10 years ago as they are today. The step seem really huge if there still is nothing nearly catching up.


IDEA has wicked refactoring abilities. If I rename a class, it will find all the functions whith input param of this class and ask to rename them as well. It can identify class references from plain strings. This is useful at least in Java where xmls reference classes or testdata comes from another variable. The last one may be personal subjective bias, but auto complete options are always spot on, heavily affected by context and recent selection, while LSP auto complete suggestions while good, are a rough estimate of what I want.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: