IDEA 不识别application.properties或application.yml文件

不知道大家有没有遇到我这种情况,当把springboot全部依赖都正常导入后,application.properties或application.yml未被正常识别
IDEA 不识别application.properties或application.yml文件

解决方法
ctrl+alt+s 打开setting
找到File type里的text文件,把里面的*.yaml删除
IDEA 不识别application.properties或application.yml文件
maven-reimport就恢复正常啦IDEA 不识别application.properties或application.yml文件
IDEA 不识别application.properties或application.yml文件
若还未解决把resources文件夹标记为其他然后再重新标记为resources root就OK了