Search code examples
javaintellij-ideaproperties-fileintellij-17

IntelliJ IDEA does not recognize properties file


IntelliJ IDEA does not recognize my property file as seen in the picture below.

Property file not recognized

When I change the name to something other than "assetInformationFields" like "assetInformationField" it is recognized perfectly.

Property file recognized

I already tried to invalidate caches and restart. IntelliJ IDEA version: 2017.1.5


Solution

  • Please see File | Settings (Preferences on Mac) | Editor | File Types, select the Text files and remove assetInformationFields.properties from there. Most likely it was added by accident from the file right click context menu.