CLion Help

Extract Property

In Maven projects, while editing pom.xml, one needs to define a property and replace the occurrences of some value - artifact version, for example, - with this property.

For these purposes, CLion provides the Extract Property refactoring.

Extract Property refactoring creates a new property definition in the specified pom.xml file, finds all the occurrences of the selected string in the hierarchy of pom.xml files, and replaces them with the above property in the format: ${<property_name>}

The Extract Property refactoring lets you move expressions and local declarations to properties.

See Also

Language and Framework-Specific Guidelines:

Web Resources:

Last modified: 12 March 2015
comments powered by Disqus