Загрузка видео...

Не удалось загрузить видео

На главную

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

Фото профиля David Alejandro
David Alejandro2 лет назад

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
Vinicius Stock2 лет назад

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 🦋
Scott Holden 🦋2 лет назад

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
Cadu Ribeiro2 лет назад

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
Vinicius Stock2 лет назад

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
Paweł Borak2 лет назад

Is autocomplete of methods next on the plate?

Фото профиля Vinicius Stock
Vinicius Stock2 лет назад

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
Kaka Ruto2 лет назад

Love thissssss! 😫

Фото профиля Hacker Vaillant
Hacker Vaillant2 лет назад

Game changer feature 👏

Фото профиля Anthony De Silva
Anthony De Silva2 лет назад

Thank you for Ruby LSP.

Похожие видео