Recommended configuration for using Ruby in Visual Studio Code
When programming with Ruby, it's specially important that you have a development environment that's optimized for your happiness.
There is not one size fits all solution for everyone and if you're already using a tool that works fine for you, there is no need to change it.
If you're looking for a starting place then Visual Studio Code is a great options for the following reasons:
- Easy to setup and get started
- Available for Windows, macOS and Linux
- Lightweight but extendable via extensions.
- Support for other languages and web technologies (Javascript, HTML, CSS, SCSS, Less, and JSON).
- Good documentation.
- Gets updated every month.
Follow these instructions to get started
- Install Ruby
- Set up Visual Studio (or VSCodium)
- Install Ruby LSP Plugin
- Learn the basics about Code Navigation
- Review how linting and formatting work and the VSCode cheatsheet.
- Have fun!
Discussion