solargraph can be used without adding a development dependency to a project, and it provides basic Ruby language completion for core language features. To set it up to work with our bespoke modules, gems, and Rails, you need to bundle it and run a command. I've documented this in the README.
The gem is require: falsed and is not bundled in the production build.
annotate and solargraph-rails are added for better Rails support.
Before
After
Vim doesn't know what classes are under the ActiveModel::Type namespace
See also:
solargraph is a Ruby language server protocol; it provides intellisense capabilities to compatible editors.
solargraph
can be used without adding adevelopment
dependency to a project, and it provides basic Ruby language completion for core language features. To set it up to work with our bespoke modules, gems, and Rails, you need to bundle it and run a command. I've documented this in the README.The gem is
require: false
d and is not bundled in the production build.annotate
andsolargraph-rails
are added for better Rails support.