IntelliJ IDEA does not recognize properties file

牧云@^-^@ 提交于 2020-02-25 04:56:18

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!