- Install the Ruby Solargraph VS Code extension and configure to your projects bundler path.
- Run
$ gem install solargraph solargraph-rails
- Update the Ruby Solargraph VS Code extension's command path to point to the abolute path of your solargraph install.
- In your Project root run
$ solargraph config
- Optional: Update the generated file with the config above (This is for my project YMMV)
- In your Project root run
$ solargraph bundle
- Add the contents of this gist to your project (or see above). I keep mine in
config/definitions.rb
- In your Project root run
$ yard gems
- Restart VS Code
- Profit?
These steps are mostly from memory
Thank you! This was helpful for me