Search code examples
rubyvisual-studio-codelanguage-server-protocol

Use "Go to symbol" and "Go to symbol in workspace" in VS Code for Ruby


Is it possible to use the "Go to symbol" and "Go to symbol in workspace" features in VS Code for Ruby files? These work great, out of the box, for JavaScript, but they seem to be non-existent for Ruby.

For instance, it seems like the most popular Ruby extensions, Ruby, and Ruby Solargraph, don't support this feature. Ruby Symbols supports symbols, but only in the current file, not the entire workspace.


Solution

  • Solargraph received quite a few updates since Mar 2018 and it supports workspace symbols for some time already.