VS Code Extensions for Ruby on Rails
Rutvik Patel
Posted on April 6, 2023
VS Code Extensions for Ruby on Rails
VS code extensions help everyone write code faster and increase productivity. So today I am going to share some extensions that I personally use and that will help you with the Ruby on Rails programming language.
“Top 10 Must-Have VS Code Extensions for Ruby on Rails Development”
Extensions
Extensions made our task easy by providing some snippets, showing live changes, collaborating with others, and much more.
Let’s get started with Extensions for Ruby on Rails.
List of Extensions :
Ruby
endwise
rufo (Ruby formatter)
ERB Formatter/Beautify
Rails DB Schema
Rails Routes Navigator
Ruby and Rails Snippets
Ruby on Rails
Ruby Test Explorer
ruby-rubocop
1. Ruby
Basic extension that provides ruby language support in VS Code. It is provided by Peng Lv.
Download Link : Ruby
2. endwise
It automatically adds end at end of the ruby block as shown below the demo. It is provided by Kai Wood.
Download Link : endwise
Demo:
3. rufo (Ruby formatter)
Extension for formatting ruby files like controller.rb, model.rb, etc. It is provided by Matt Bessy.
Download Link : rufo (Ruby formatter)
Demo :
4. ERB Formatter/Beautify
One of the best extensions to format/beautify erb files. It is provided by Kai Wood. This extension needs some basic setup. So you can follow its description for the setup.
Download Link : ERB Formatter/Beautify
5. Rails DB Schema
Helps users easily view defined data in the database schema. It is provided by aki77.
Download Link : Rails DB Schema
Demo :
6. Rails Routes Navigator
Every time writing http://localhost:3000/rails/info/routes in the browser becomes cumbersome. So this extension provides the solution for that, Now user can access rails routes from VS Code itself. It is provided by makicamel.
Download Link : Rails Routes Navigator
Demo :
Don’t forget to check out my VS Code setup blog, in which I mentioned every theme, icon, and extension that I personally use in my day-to-day life.
7. Ruby and Rails Snippets
Collection of ruby and rails snippets. It is provided by Chris.
Download Link : Ruby and Rails Snippets
Demo :
8. Ruby on Rails
Another extension for Ruby on Rails snippets. It is provided by Hridoy. If you want to write methods for CRUD in the controller, just type CRUD, and it will generate every method with instance variables as well. For more usage-related information, check the details in VS Code or the overview in the marketplace.
Download Link : Ruby on Rails
9. Ruby Test Explorer
Easily run test cases in the sidebar of vs code; no need to check the terminal every time. It is provided by Connor Shea.
Download Link : Ruby Test Explorer
Demo:
10. ruby-rubocop
Rubocop is basically a code analyzer and formatter. It gives suggestions on how to write Ruby code in a proper way. Rubocop also has the capability to fix some code syntax. It is provided by misogi.
Download Link : ruby-rubocop
Posted on April 6, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.