IDEA使用技巧记录

使用问题

  • 默认显示形参
  • 默认单行方法折叠
  • Mybatis xml映射文件背景阴影问题
  • 多线程调试

问题解决

  • 默认显示形参
    IDEA使用技巧记录
    解决方法:
    File > Settings > Editor > General > Appearance > 取消勾选Show parameter name hints
    IDEA使用技巧记录

  • 默认单行方法折叠
    IDEA使用技巧记录
    解决方法:
    File > Settings > Editor > General > Code Folding > 取消勾选One-line methods
    IDEA使用技巧记录

  • Mybatis xml映射文件背景阴影问题
    IDEA使用技巧记录
    解决方法:
    File > Settings > Editor > Inspections > SQL > 取消勾选 No data sources configured 和 SQL dialect detection,如果需要应用全部工程,可以修改上面Profile为IDE
    IDEA使用技巧记录

  • 多线程调试
    解决方法:
    在断点右键 Suspend 设置为 Thread
    IDEA使用技巧记录
    IDEA使用技巧记录