Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

github.com

167 points by todsacerdoti 2 days ago


eitland - 2 days ago

Great!

As much as I love Kotlin and have a great deal of respect for JetBrains, I’ve always preferred the other Java IDEs over IntelliJ. The fact that choosing Kotlin—which I genuinely do prefer—effectively locks you into IntelliJ for the foreseeable future has been one of the main reasons I’ve hesitated to recommend it unreservedly for every project.

Just to be clear: I think IntelliJ and the rest of JetBrains’ tools are excellent and absolutely worth the price. I simply happen to prefer the alternatives—and they happen to be free. That said, I realise this is very much a personal preference, and one that most others don’t seem to share.

travisgriggs - 2 days ago

I think it’s admirable that there’s a generic language server for Kotlin. Others, such as zed can benefit from this as well.

That said, I would much rather use AndroidStudio for Kotlin. Hands down. I use VSCode only when I can’t find something better. I recently switched my Elixir dev to Zed and am happy with that. Pretty much only thing I choose to use VSCode for these days is my ansible setups. Otherwise:

- Pycharm -> Python

- Xcode -> Swift

- Android Studio -> Kotlin

- Zed for Elixir/Phoenix

- Nova for embedded C code

- vim for scripts and quick edits of any of the above

VSCode for everything is like using a multitool to do woodworking in a garage. When you’re hiking or on a trip, a lightweight do it all tool has advantages. But I think it’s important to remember what IDE stands for.

matthew-craig - 2 days ago

This is amazing news. The inability to write Kotlin in emacs was the only thing stopping me from using the language.

I really hope that this means that we can some day get a Jetbrains Java LSP. I would pay for an Intellij Ultimate subscription just to get access to such a thing.

directstar2 - 2 days ago

I wonder what triggered the sudden change of mind.

They have been pretty firm on wanting keeping it closed for the purpose of giving an edge to the Jetbrain IDE's

andy800 - 2 days ago

With the proliferation of JS, TS, Python, Go, etc, Kotlin is probably not even a thought for many young developers. Any efforts by JetBrains to bring Kotlin to where the people are at (as opposed to expecting people to come to IntelliJ) is welcomed. Call me a stan, whatever, but Kotlin is the best, most productive language I've ever used, by far. Yes, it takes some effort to understand how to effectively utilize some of its features, but once you do, productivity (and enjoyment) elevates tremendously.

flykespice - 2 days ago

It's great jetbrains finally taking some babysteps to support an official language server for VSCode after some great resilience from them.

I know it's a difficult spot because such effort will also indirectly compete with their main product which is an IDE, so I'm not very optimistic it'll last.

pjmlp - 2 days ago

Are they going to kill it in one year, as they did with the Eclipse plugin, after going big on Android?