![]() ![]() The match is performed against the entire name. The filter supports regular expressions and uses the standard syntax. This filter matches only entry names, such as property names, method names, class names, and so on. ![]() Use the Name field to specify entry names the rule should affect. Note that double-clicking a filter negates the condition. Use the Type and Modifier filters to choose the code constructs and their visibility modifiers that should be regulated by the rule. On the Arrangement tab, click and provide the rule parameters in the Matching rules area. Matching rules let you define elements order as a list of rules, where every rule has a set of matching conditions, such as modifier or type. The former will arrange the methods according to the nesting hierarchy the latter will group together the sibling methods from the same nesting level. On the Arrangement tab, choose the grouping options in the Grouping rules area.įor the Keep dependent methods together option, you can select depth-first order or breadth-first order. Press Ctrl+Alt+S to open the IDE settings and select Editor | Code Style | Java. Grouping rules let you keep related class methods together. You can also create groups (aliases) of rules and refer to them when you create a matching rule. ![]() You can rearrange your code according to the arrangement rules set in the Code Style page of the Settings dialog. Rearrange code Configure arrangement rules ![]()
0 Comments
Leave a Reply. |