ruby-lsp
ruby-lsp copied to clipboard
An opinionated language server for Ruby
### Motivation The current semantic highlighting was not handling `class Foo < Bar` or `module Baz` constructs and skipping them in semantic highlighting. This PR makes them semantic `class` tokens...
### Motivation I got inspired by the recently released [Markdown Language Server](https://code.visualstudio.com/blogs/2022/08/16/markdown-language-server) doing completion for references to other files. I realized that we can match `require` strings against a list...
### Motivation Please see https://github.com/Shopify/vscode-ruby-lsp/pull/193. ### Implementation Add the new `onTypeFormatting` request and handle automatically closing ends, pipes and string interpolations. ### Automated Tests Included new tests. ### Manual Tests...
We implemented the DocumentLink request in #58 and used it to go to method definition from gem RBIs. As a next step, let's use this request to link to the...
Let me start by saying I am so excited that ruby tooling has gotten some love lately. Are there a plans to add support for other editors (most notably) Neovim?...
When running RuboCop on files for both diagnostics and formatting, a bug may cause a cop to fail. The default behaviour is for RuboCop to print to `stderr` that a...
After #238 is in place, it is possible to execute more than one request at the same time if we know they are in the queue. That is, if we...
This roadmap provides a rough idea of the next efforts for the Ruby LSP. _Items may be changed or reordered and are not guaranteed to be implemented._ ### Coming up...
Improve our existing semantic highlighting to address more complex Ruby syntax. - [ ] Method and block arguments - [ ] Punctuation (e.g.: the namespace separator `::` or the pipes...
It would help developers to better visualize meta-programming, if we could somehow provide a preview of what the result is going to be. Something like ```ruby class Foo ["bar", "baz",...