Posted about 1 month ago. Visible to the public.

RubyMine: You can disable inspections you don't care about

When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor. E.g. in my Cucumber scenarios RubyMine underlines 90% of all lines because it does not know about spreewald, making the file really hard to read.

You can disable any unwanted inspection by opening File / Settings / Editor / Inspections and searching for the warning text.

What you disable or keep is up to your personal preference. I personally disable at least the following:

  • Cucumber / Undefined step (it does not understand spreewald or cucumber_factory)
  • Ruby / Double quoted string (life is too short)
  • Spelling / Typo (if your English is good)

You can also disable inspections on the fly by positioning your mouse cursor on the highlighted code and pressing ALT + ENTER. It will list the current inspections and offer to disable them.

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Author of this card:

Avatar
Henning Koch
Last edit:
26 days ago
by Dominik Schöler
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev