Read more

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

Henning Koch
March 14, 2018Software engineer at makandra GmbH

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 Show archive.org snapshot , making the file really hard to read.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

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.

Posted by Henning Koch to makandra dev (2018-03-14 18:17)