MENU

Fun & Interesting

Beyond the LSP with ruby-lsp and Neovim - Custom Methods!

Jeffrey Chupp 3,358 lượt xem 1 year ago
Video Not Working? Fix It Now

ruby-lsp recently added a custom method (beyond the Language Server Protocol) to show dependencies. How does it work? It is only implemented in the VS Code extension, so how can we use it elsewhere (e.g. in Neovim)? Are custom methods a blessing or a curse and how should language server maintainers think about them?

00:00 - ruby-lsp just got better
00:29 - Spelunking in the VS Code implementation
02:04 - Neovim implementation
11:03 - Improving our command
12:17 - How to think about custom methods

- Announcement tweet: https://twitter.com/vinistock/status/1758579654611345526
- VS Code extension repo: https://github.com/Shopify/vscode-ruby-lsp
- Neovim code gist: https://gist.github.com/semanticart/b66bf71d0f8cdda7deb557e8e3e397c3

Comment