RubyMine 5.4.0 Web Help

RubyMine allows you to specify your own set of inspections for a certain scope, or customize inspection profile for the whole IDE. You can create a profile with all necessary inspections specified and tie it to your project, or use the default one, which is also editable.

In this section:

To customize profile settings
  1. In the inspection settings, select the profile to be changed. Note that the default profiles are editable.
  2. Enable or disable the desired inspections.
  3. To apply an inspection to a restricted set of files, associate it with the corresponding scopes.

    Note

    By default, an enabled inspection applies to all the sources of the current project.

  4. To configure the level of alerts, specify the inspection severity using the Severity drop-down list.
  5. Change the other options, which can be different for the various inspections. Note that the Options section is only enabled for enabled inspections.
  6. Apply changes.

The modified inspections are shown blue in the list of inspections.

To create a profile
  1. In the Inspections page, click Add.
  2. In the dialog box that opens, type the name of the new profile.
  3. Apply changes. The new profile is created as the copy of the Default profile.
To create a profile copy
  1. In the inspection settings, select the base profile from the list of profiles:

    select_profile

  2. Click Copy.
  3. In the dialog box that opens, type the name of the new profile.
  4. Apply changes. The new profile is created as the copy of the currently selected profile.
To delete a profile
  1. In the inspection settings, select the profile to be deleted from the list of profiles.
  2. Click Delete.
  3. Apply changes.
To import a profile
  1. In the inspection settings, click Import.
  2. In the Select Path dialog box, locate the desired xml file, and click OK.
  3. Apply changes.
To export a profile
  1. In the inspection settings, click Export.
  2. In the Select Path dialog box, locate the desired directory, where xml file of the current inspection profile will be stored, and click OK.
  3. Apply changes.

See Also

Concepts:

Procedures:

Web Resources: