Solargraph is a Ruby Language Server. It’s meant to add code completion and inline documentation onto IDEs.
We have to install the gem first
gem install solargraph
Within Sublime Text Control Panel (
- Find Package Control: Install Package
- Then LSP
By default, the ST plugin will look for
rbenv. We have to force the settings
Preferences > Package Settings > LSP > Settings, and paste this :
Note : you need to adjust the value of the path on line 8. You can find the exact installation path of
solargraph on your system with the following command
Finally we can enable the server via the Sublime Text Control Panel (
No webmentions were found.