Properties Files Editor

Dedicated Properties file type

The .properties file type is provided for better handling of the build properties and internationalization issues. IntelliJ IDEA recognizes the most common properties syntax: key - delimiter - value

Most common delimiters (minus, equal sign and colon) are supported.

Keys can be both simple and complex. Complex keys allow different separators, such as dot (.), dash (-), slash (/). It is also possible to specify custom delimiters.

 

Code completion for properties

Code completion for properties

IntelliJ IDEA provides its smart completion feature for the .properties keys. They can be completed in Ant build files, Java String literals, etc. Use Ctrl + Space to quickly insert properties.

 

to the top

Properties inspections

Properties inspections

IntelliJ IDEA detects various problems related to properties files such as duplicate properties, unused properties, and missing parameters in format strings. For instant solving of discovered problems, IntelliJ IDEA provides intention actions and quick-fixes that can safely remove redundant or unused properties and parameters. Read more about code inspections and static code analysis »

 

Properties syntax highlighting

Properties syntax highlighting

Properties files editor provides for fully customizable syntax highlighting that helps you easily read, analyze and modify property files.

 

to the top

Finding usages of properties

Finding usages of properties

To find usages of the particular property throughout the entire project, position the caret at the property key and press Alt + F7. IntelliJ IDEA will show the results in its Find tool window, just like it normally does , for example with Java symbols.

 

to the top