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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
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)