Reporte all properties not referenced from outside of the properties file

原文:https://www..com/article/73491017781/

  • 问题

idea 导入项目properties文件代码没有高亮显示,提示’this inspection reports all properties not referenced from outside of the properties file’

  • 原因

IDEA默认对properties文件进行关键字检查的

  • 解决方法

setting里面搜索 ”Unused“ 或者 “Inspections” 关键字 将其中 “Properties Files” 的Unused Property 的检查去掉
Reporte all properties not referenced from outside of the properties file