Loading video...

Video Failed to Load

Go Home

We just released v0.16.5 of the Ruby LSP with the first iteration of method support for go to definition! We will continue iterating to handle more method types and improve accuracy as much as possible. Please let us know if you have feedback and happy coding!

21,624 views • 2 years ago •via X (Twitter)

10 Comments

David Alejandro's profile picture
David Alejandro2 years ago

This is awesome! Still not available on VSCode. Any idea when it will be published there? Can't install it through the console either: code --install-extension [email protected] Installing extensions... Extension '[email protected]' not found. Might have to vsce.

Vinicius Stock's profile picture
Vinicius Stock2 years ago

The new version is for the server, not for the VS Code extension. The server gem updates automatically. Try reloading VS Code and you should eventually get it.

Scott Holden 🦋's profile picture
Scott Holden 🦋2 years ago

Congrats, go to def is one of the primary reasons I stick to IntelliJ. Hope this gives more people access to an open alternative.

Cadu Ribeiro's profile picture
Cadu Ribeiro2 years ago

This is amazing @vinistock. Congrats on the awesome work Would it be feasible to go to a library definition? I would love to jump directly to the gem code without needing to bundle open something 😄

Vinicius Stock's profile picture
Vinicius Stock2 years ago

Thank you! That should already be working. The Ruby LSP automatically indexes the source code of all dependencies so you should be able to jump to their code and also jump around inside them. The only exception is if you're using a separate Gemfile for the LSP.

Paweł Borak's profile picture
Paweł Borak2 years ago

Is autocomplete of methods next on the plate?

Vinicius Stock's profile picture
Vinicius Stock2 years ago

Yes, for known receiver types. However, completion when the receiver type is unknown is probably not going to be possible. We have some ideas for providing a decent experience in those cases, but we'll need to do some experimentation.

Kaka Ruto's profile picture
Kaka Ruto2 years ago

Love thissssss! 😫

Hacker Vaillant's profile picture
Hacker Vaillant2 years ago

Game changer feature 👏

Anthony De Silva's profile picture
Anthony De Silva2 years ago

Thank you for Ruby LSP.

Related Videos