idea 使用 备忘录
文章目录
Idea 自动生成返回值 Alt + Enter
Idea 自动生成未定义的方法,快捷键
Alt + Enter
Idea 自动获取方法返回值 IDEA的ctrl+alt+v相当于eclipse的CTRL+1
Idea 自动编译代码
file—>setting–>Build,Exception,Deployment -->Compiler-Build project automatically
ctrl + shift + alt + /,选择Registry,
勾选勾上 Compiler autoMake allow when app running
IDEA 报错 Could not autowire. No beans of ‘UserMapper’ type found.
解决方法:
Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable(idea是把√去掉)
idea 设置代码提示大小写不敏感
setting->Editor->General->Code Completion
取消勾选Match case