Find & Fix all RuboCop Inspections in one go
The fresh RubyMine 2017.3.1 RC (build 173.3942.35) is available. This build features the ability to run and auto-correct all the RuboCop inspections in your project through the Run Inspection by Name action.
This feature is a great time-saver as with it you don’t have to manually look for every code smell in your project when, for example, you are about to commit some important changes. Simply go to Code | Run Inspection by Name, and type the name of the wanted inspection (obviously, “rubocop”, in our case):
As you see, in the opened window you can choose whether to inspect the whole project, a particular file, directories, file types, or even file masks.
Hit OK once you’ve defined your scope. Now you can review and fix every auto-correctable offense, or choose all items and fix the issues in bulk:
That’s it! If you have any comments, problems, or suggestions regarding this new ability, feel free to contribute to the related issue.
- The rails views gutter is back (issue)
- Search everywhere now displays Puppet classes (issue)
- Other bug-fixes
Your RubyMine team
Subscribe to Blog updates
Thanks, we've got you!
RubyMine 2022.2 Released
Hi all, RubyMine 2022.2 is now available! Below is a brief overview of the most notable features. For a detailed description of this update, please visit our What's New page. Support for Rails URLs With RubyMine 2022.2 you can click links in server logs for View, Route, and other references to navi…
RubyMine 2022.1.1 Is Available
Hi all, RubyMine 2022.1.1, the first bug-fix update for the current major version, is now available. You can update using the Toolbox App, right from inside the IDE, or by downloading RubyMine 2022.1.1 from our website. With this update we fixed the issues that were caused when Rails 3 support wa…
RubyMine Plans to Retire Support for Rails 3 and Other Outdated Features
Dear all, As some of you already know, RubyMine 2022.1 was shipped without support for Rails 3. The reason for this decision was quite simple: Rails 3 reached End Of Life many years ago, and most of you had long since switched to the newer Rails releases. Hence, continuing to support Rails 3 in Rub…
RubyMine 2022.1 Released
Hello everyone, RubyMine 2022.1 is now available! Below is a brief overview of the most notable features. For a detailed description of this update, please visit our What’s New page. Support for new language features RubyMine 2022.1 includes support for most of the new Ruby and RBS features introdu…