RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

Get results and fix problems

Last modified: 28 November 2022

If an inspection has detected a problem in your code, you can quickly apply a fix in the editor. Place the caret at the highlighted piece of code and press Alt+Enter.

https://resources.jetbrains.com/help/img/idea/2022.3/rm_inspection_fix.png
Gif

For some inspections, you can open a preview by pressing Ctrl+Q (View | Quick Documentation).

Quick-fix preview