问题
IntelliJ IDEA does not recognize my property file as seen in the picture below.
When I change the name to something other than "assetInformationFields" like "assetInformationField" it is recognized perfectly.
I already tried to invalidate caches and restart. IntelliJ IDEA version: 2017.1.5
回答1:
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.
来源:https://stackoverflow.com/questions/45014953/intellij-idea-does-not-recognize-properties-file