Загрузка видео...
Не удалось загрузить видео
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 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

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.

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.

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

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 😄

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.

Is autocomplete of methods next on the plate?

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.

Love thissssss! 😫

Game changer feature 👏

Thank you for Ruby LSP.
