RubyMine 2025.2 Help

Commit

Use this settings page to configure the commit options.

Item

Description

Clear initial commit message

Select this option if you do not want to automatically fill the commit message fields with the previous commit message.

Commit message inspections

Select the inspections that you want to be applied to the commit message.

Commit checks

Item

Description

Reformat code

Perform code formatting according to the Project Code Style settings.

Rearrange code

Rearrange your code according to the arrangement rules preferences.

Optimize imports

Remove redundant import statements.

Cleanup

Automatically apply the current inspection profile to the files you are going to commit/shelve.

Advanced commit checks

Use the controls in this area to define which additional actions you want RubyMine to perform after committing the selected files.

Item

Description

Analyze code

Analyze modified files while committing them. Click Configure to select an inspection profile from which the IDE will run inspections.

Check TODO (<filter name>)

Review the TODO items matching the specified filter. Click Configure to choose an existing TODO filter or open the TODO settings page and define a new filter to be applied.

Run tool

From this list, select the external tool that you want RubyMine to launch after the selected changes have been committed. You can select a tool from the list, or click the Browse button the Browse button and configure an external tool in the External Tools dialog that opens.

Run advanced checks after a commit is done

Enable advanced checks to run after you commit your changes. Even if some checks fail, your changes will still be committed.

How it works

18 August 2025