解决idea中创建的后缀为.xml配置文件不生效,为普通文件的问题 项目场景:.xml配置文件为普通文件解决方案:点击 File -》File Properties -->Asspcoate with File Type 项目场景:.xml配置文件为普通文件 提示:百度了很多帖子,都是进file----》settings 第二: 解决方案:点击 File -》File Properties -->Asspcoate with File Type 提示:应该是按了path from repository root,导致XML文件一致以file格式打开了, 解决问题的步骤: