file->Settings->Editor->File Types 的Registered Patterns里面添加*.properties,让IDEA把properties文件看做spring文件来处理