IDEA设置

取消xml屎黄色背景

  • 打开设置-->Editor-->Color Scheme-->General-->Code-->Injected Language Fragment 取消 Background前面复选框的勾。
  • Editor-->Inspections-->SQL-->No data sources configured 和SQL dialect detection 前面的复选框勾取消。

控制台中文乱码解决

  • Settings-->Editor-->File Encodings-->Global Encoding 改UTF-8
  • Project Encoding 改UTF-8
  • Default encoding for properties files 也更改成UTF-8
  • 同时在IDEA的安装目录的bin目录下的idea64.exe.vmoptions 和idea.exe.vmoptions 文件最后一行都加上-Dfile.encoding=UTF-8,重启idea
  • rebuild project
posted @ 2020-04-24 17:28  正宗老菜鸟  阅读(237)  评论(0编辑  收藏  举报