Solargraph

A Ruby Language Server

Online Demo

This demonstration integrates Solargraph with the Ace web editor to provide basic Ruby code completion. For even more features, try the Solargraph extension for Visual Studio Code.

Instructions: Enter some Ruby code and press ctrl+space to see a list of suggestions.

# This editor uses solargraph-rails to provide Ruby code completion. # Code suggestions include the core Ruby library, local class and variable # definitions, and hints from YARD documentation. # Hit ctrl+space anywhere in code to get context-aware suggestions. str = 'Hello, world!' # Try entering `str.` and hitting ctrl+space to see String instance methods. class Foo def bar end end foo = Foo.new # Try entering `foo.` and hitting ctrl+space to see Foo instance methods.

Using Solargraph 0.39.11