


Now to achieve that, VS Code has neat features allowing you to: So that you can focus on building applications and not on configuring 10 different editors for linting and formatting. Even if it hurts sometimes, it's best for everyone contributing on the same project to use the same editor and configuration. My goal as a developer is to best configure my editor but also be sure that this configuration is stored in the project and can be used by other developers. This extension is extremely useful when you quickly want to check the description and latest version of a gem from your Gemfile. To benefit from Solargraph features you have to add the dependency to your Gemfile:Įnter fullscreen mode Exit fullscreen modeįinally, you can go further and configure Solargraph to be smarter with your Rail codebase. Solagraph can do more than that, I especially like the linting and autoformatting being done with RuboCop, see:

Solargraph is a Ruby gem that provides intellisense features through Microsoft's. If you were used to VS Code awesome JavaScript autocompletion then you will love Solargraph and its VS Code extension. I believe this should be implemented in VS Code by default but that's not the case. We start lightly with an extension that wisely adds end blocks where needed. Ruby and Ruby On Rails VS Code extensionsĪs for Ruby and Rails development, those are the only extensions ones I use.
