I recently asked twenty-five professional, freelance Ruby developers about their favorite extensions for Visual Studio Code. This wasn’t a formal survey, just a way to dig into what makes for a great VS Code extension and use that to inform the design of our own AppMap extension. I tallied the results and a clear picture emerged about which extensions were top of mind for Ruby developers.
The most popular responses
These are the heavyweights. No big surprises, but it was interesting to see these names appear with such consistency.
- Rubocop - A VS Code interface for the Rubocop static code analyzer.
- Prettier - Text formatter.
- Ruby - Provides enhanced Ruby support specific to VS Code.
- GitLens - Provides enhanced Git support specific to VS Code.
There was a dropoff and the results got more varied
These extensions are not necessarily less popular in terms of sheer download numbers. They were just not top of mind for these developers. Part of being a great extension is seamlessly blending into and improving an existing workflow. Consequently, some of the best extensions are nearly invisible and rarely thought about.
- ERB Formatter - Provides syntax formatting for ERB.
- Intellicode - AI-assisted development for Java, C#, Python, and a handful of other languages, but not Ruby.
- Docker - A VS Code interface for managing containers.
- Ruby Solargraph - Provides code completion and inline docs for Ruby.
- Live Share - Enables real-time collaborative coding.
Incredibly useful extensions that are not new but were new to me
These are two extensions that I discovered during this exercise and added to my own toolkit. I was definitely late to the party on these, but happy to have them now.
- CSS Peek - Jump directly to CSS definitions from an
class namein HTML.
- Todo highlight - Highlight
TODOin your code.
The obscure indie
Simple but so useful.
- Rails Routes - Jump to a route definition from wherever it is being called in the code
One well-known developer responded to my question by pasting his
plugins.jsonfile into a DM. It actually ended up being interesting to pick through. Kind of like watching the credits of a movie. Check it out.
What is your favorite VS Code extension? Let me know on Slack.
The raw data
|Bracket Pair Colorizer
|Auto Close Tag
|JS Code Snippets
|Boostrap 4 snippets
|Bootstrap 4, Font Awesome
|Redux DevTools 8
|Auto Rename Tag
|Street Side Software
|Rails Go To Spec
|VS Code Elixir
|VS Code PDF
|Add New Line To Files
|Simple Ruby ERB
|Victor Ortiz Heredia
|VS Code Database
Originally posted on Dev.to