Adding solargraph to support LSP for Ruby (#15484)

* Adding solargraph to support LSP for Ruby

[Solargraph](https://github.com/castwide/solargraph) is a Language
Server Protocol (LSP) implementation for Ruby.

LSP provides Integrated Development Environment (IDE) features.  There
are a list of plugins for various editors.

By including Solargraph, those using LSP enabled tools have a rich suite
of tools available for them.

In Emacs land I'm using lsp-mode.el.  There are plugins/extensions for
VS Code, Atom, and Vim.  (see the Solargraph URL for details).

* Further documenting solargraph

Really, just want to nudge Travis
This commit is contained in:
Jeremy Friesen 2021-11-24 12:18:28 -05:00 committed by GitHub
parent 58a4d805d7
commit 6e275a12fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 26 additions and 8 deletions

View file

@ -133,6 +133,7 @@ group :development do
gem "i18n-tasks", "~> 0.9.35" # Helpers to find and manage missing and unused translations
gem "listen", "~> 3.7", require: false # Helps 'listen' to file system modifications events (also used by other gems like guard)
gem "memory_profiler", "~> 1.0", require: false # Memory profiling routines for Ruby 2.3+
gem "solargraph", "~> 0.44", require: false # For LSP support (such as symbol renaming, documentation lookup)
gem "web-console", "~> 4.2" # Rails Console on the Browser
end

View file

@ -106,7 +106,9 @@ GEM
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
backport (1.2.0)
bcrypt (3.1.16)
benchmark (0.2.0)
benchmark-ips (2.9.1)
better_errors (2.9.1)
coderay (>= 1.0.0)
@ -229,6 +231,7 @@ GEM
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
railties (>= 3.2)
e2mmap (0.1.0)
easy_translate (0.5.1)
thread
thread_safe
@ -339,8 +342,6 @@ GEM
globalid (0.5.2)
activesupport (>= 5.0)
google-protobuf (3.19.1)
google-protobuf (3.19.1-x86_64-darwin)
google-protobuf (3.19.1-x86_64-linux)
guard (2.18.0)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
@ -419,6 +420,7 @@ GEM
ipaddress (0.8.3)
irb (1.3.7)
reline (>= 0.2.7)
jaro_winkler (1.5.4)
jbuilder (2.11.3)
activesupport (>= 5.0.0)
jquery-fileupload-rails (0.4.7)
@ -447,6 +449,10 @@ GEM
execjs (~> 2.7)
knapsack_pro (3.1.3)
rake
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
launchy (2.5.0)
addressable (~> 2.7)
libhoney (1.21.0)
@ -499,12 +505,6 @@ GEM
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.12.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-linux)
racc (~> 1.4)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
@ -783,6 +783,21 @@ GEM
simplecov_json_formatter (0.1.2)
slack-notifier (2.4.0)
smart_properties (1.15.0)
solargraph (0.44.1)
backport (~> 1.2)
benchmark
bundler (>= 1.17.2)
diff-lcs (~> 1.4)
e2mmap
jaro_winkler (~> 1.5)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.1)
parser (~> 3.0)
reverse_markdown (>= 1.0.5, < 3)
rubocop (>= 0.52)
thor (~> 1.0)
tilt (~> 2.0)
yard (~> 0.9, >= 0.9.24)
spring (3.0.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
@ -884,6 +899,7 @@ GEM
activerecord (>= 5.2)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.26)
zeitwerk (2.5.1)
zonebie (0.6.1)
@ -1023,6 +1039,7 @@ DEPENDENCIES
sidekiq-unique-jobs (~> 7.1.8)
simplecov (~> 0.21.2)
slack-notifier (~> 2.4)
solargraph (~> 0.44)
spring (~> 3.0)
spring-commands-rspec (~> 1.0)
sprockets (~> 4.0)

BIN
vendor/cache/backport-1.2.0.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/benchmark-0.2.0.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/e2mmap-0.1.0.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/jaro_winkler-1.5.4.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/kramdown-2.3.1.gem vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
vendor/cache/solargraph-0.44.1.gem vendored Normal file

Binary file not shown.

BIN
vendor/cache/yard-0.9.26.gem vendored Normal file

Binary file not shown.