IDEA使用技巧记录
使用问题
- 默认显示形参
- 默认单行方法折叠
- Mybatis xml映射文件背景阴影问题
- 多线程调试
问题解决
默认显示形参
解决方法:
File > Settings > Editor > General > Appearance > 取消勾选Show parameter name hints默认单行方法折叠
解决方法:
File > Settings > Editor > General > Code Folding > 取消勾选One-line methodsMybatis xml映射文件背景阴影问题
解决方法:
File > Settings > Editor > Inspections > SQL > 取消勾选 No data sources configured 和 SQL dialect detection,如果需要应用全部工程,可以修改上面Profile为IDE多线程调试
解决方法:
在断点右键 Suspend 设置为 Thread