原因:创建文件时没有写入后缀,然后不管怎么修改还是新建都是 File 格式,其他名字倒是可以.

解决方案:File -> Setting -> Editor -> File types -> Text -> UserMapper.xml --> 删除

原因:创建文件时没有写入后缀,然后不管怎么修改还是新建都是 File 格式,其他名字倒是可以.
解决方案:File -> Setting -> Editor -> File types -> Text -> UserMapper.xml --> 删除
本文标题:idea 中配置文件为 File 类型,无法修改为 xml
本文链接:https://www.haomeiwen.com/subject/hwcecktx.html
网友评论