Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
February 9, 2021 11:15 pm GMT

How Pro Ruby Developers Customize VS Code

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.
  • ESLint - JavaScript Linter. With close to thirteen million downloads, we are all well aware of this one.
  • 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 id or class name in HTML.

  • Todo highlight - Highlight TODO in 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.json file into a DM. It actually ended up being interesting to pick through. Kind of like watching the credits of a movie. Check it out.

If you have any extensions that you really like and think would be useful to a Ruby developer, please comment.

The raw data

ExtensionDeveloperMentions
RubocopMisogi9
PrettierPrettier9
ESlintDirk Baeumer8
VSCode RubyStafford Bunk8
RubyPeng Lv7
GitLensEric Amodio6
ERB FormatterAli Ariff3
IntellicodeMicrosoft3
DockerMicrosoft3
SolargraphCastwide3
Live ShareMicrosoft3
ERBCraig Maslowski3
Live ServerRitwick Dey2
Bracket Pair ColorizerCoenraadS2
Auto Close TagJun Han2
veturPine Wu2
JS Code Snippetscharalampos karypidis2
PeacockJohn Papa2
StylelintStylelint1
Boostrap 4 snippetsZaczero1
Bootstrap 4, Font AwesomeAshok Koyi1
Pro Snippetsuncprocore1
Redux DevTools 8Jingkai1
Auto Rename TagJun han1
Error LensAlexander1
Live ServerStreet Side Software1
Rails Go To SpecSporto1
Better TOMLBung cip1
VS Code ElixirMatt McLoughlin1
Better HAMLKaruna Murti1
VS Code PDFtomoki12071
Add New Line To FilesJeremy Forsythe1
CSS PeekPranay Prakash1
Rest ClientHuachao Mao1
Ruby LinterCody hoover1
Simple Ruby ERBVictor Ortiz Heredia1
Trailing SpacesShardul Mahadik1
VS Code DatabaseBajdzis1
Todo HighlightWayou Liu1
EndwiseKai Wood1
Gem Lenseninoseki1
Rails Routesaki771

Original Link: https://dev.to/appmapruby/how-pro-ruby-developers-customize-vs-code-2hee

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To