IntelliJ IDEA 2021.1 Help

Rules Alias Definitions dialog

You can group several arrangement rules into an alias and refer to it when you add a matching rule on the Arrangement tab in Code Style. Java

Matching Rules section

For more information, refer to Rearrange code.

ItemDescription
<alias name>

Use this area to add a new alias definition, check the existing one or remove the ones you do not need. You can use the following commands respectively:

  • the Add button- click this icon to add a new alias.

  • the Remove button- click this icon to remove an existing alias from the list.

  • the Duplicate button- click this icon to copy a specified rules' sequence to the created alias.

Rules alias definitions

Use this area to define the rules' sequence for the created alias.

Rules Alias Definitions

You can also add a new rule, edit and remove the existing ones, and move them up or down. For more information on the rules, see Code Style. Java.

Last modified: 08 March 2021