IntelliJ IDEA does not recognize properties file

4.7k Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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.