IntelliJ IDEA 13.1.0 Web Help

Refactor | Inline

<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 the attributes defined in a style to one or all components where this style is applied. The refactoring is also used when you need to merge a parent style with its inheritor.

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

Note

When the refactoring is invoked from the style definition file, only the Inline all reference and remove the style option is available and chosen 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.

See Also

Procedures:

Reference:

External Links:

Web Resources: