IntelliJ IDEA 2017.2 Help

Inline Android Style Dialog

Refactor | Inline Style
<context menu of a selection> | Refactor | Inline Style

Use this dialog box to configure the Inline Style. This refactoring is opposite to the Extract Style refactoring and results in adding all attributes defined in a style to one or all components where this style is applied. This refactoring is also used when you need to merge a parent style with its inheritor.

Item Description
Inline all references and remove the style Select this option to have IntelliJ IDEA convert the attributes of the style into XML tags, add them to the definitions of all components where the style is used, and remove the style definition.
Inline this usage and keep the style Select this option to have the refactoring applied to the current component only.

When the refactoring is invoked from the style definition file, only the Inline all references and remove the style option is available and selected by default.

Refactor Click this button to apply the changes immediately.
Preview Click this button to preview the changes before applying in the Find tool window.
Last modified: 29 November 2017

See Also