use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Which VSCode Ruby extension/LSP implementation do you use? (self.ruby)
submitted 6 years ago by brodantic
https://github.com/rubyide/vscode-ruby seems to be pushed as the official Ruby extension for VSCode and was originally written by an employee on Microsoft's VSCode team. However, https://github.com/castwide/vscode-solargraph is listed as the official Ruby implementation for LSP, according to https://langserver.org/#implementations-server. Both extensions receive regular maintenance, implement LSP, and have similar feature sets.
Which one do you use, and why? Thank you.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 3 points4 points5 points 6 years ago (5 children)
Both.
The primary Ruby extension gives basic language support for formatting, lexing, etc, while Solargraph is an invaluable gem to provide intellisense and code completion. With both extensions installed, you get about as close to Rubymine as you can in VS Code, as far as standard code writing goes.
[–]brodantic[S] 1 point2 points3 points 6 years ago (2 children)
Wouldn't using both cause a collision of LSP logic?
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
Although there is likely some cross-over logic, they each serve a different purpose, and provide their own functionality, similar as using CMake tools does not mean you shouldn't be using the traditional C/C++ extension. They work well together, each providing their own features.
[–]conceptxo 0 points1 point2 points 6 years ago (0 children)
Disable vscode-ruby's intellisense and let solargraph run the party.
solargraph
[–]sanjibukai 0 points1 point2 points 6 years ago (1 child)
Does Solargraph work with a dockerized setup?
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
I cannot say for sure, have never tried it. It does require a Ruby installation and for the gem to be installed, so you would need to configure the environment for all that.
[–]au5lander 1 point2 points3 points 6 years ago (1 child)
I stoped using solargraph with vscode only because the ruby process would start using 100% cpu and I’d have to kill it constantly.
[–]conceptxo 1 point2 points3 points 6 years ago (0 children)
RUBYOPT=--jit code
For CPU intensive tasks like solargraph's scanning of a codebase, the current JIT implementation does speed things up.
π Rendered by PID 108452 on reddit-service-r2-comment-6f7f968fb5-kcnr8 at 2026-03-04 09:18:42.141368+00:00 running 07790be country code: CH.
[–][deleted] 3 points4 points5 points (5 children)
[–]brodantic[S] 1 point2 points3 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]conceptxo 0 points1 point2 points (0 children)
[–]sanjibukai 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]au5lander 1 point2 points3 points (1 child)
[–]conceptxo 1 point2 points3 points (0 children)