代码格式化
Ctrl+alt+l
复制当前行到下一行
ctrl + D
删除当前行(其实它的作用是剪切,按 ctrl + Y 可以进行粘贴)
ctrl + X(单纯地删除行可以使用 ctrl + Y)
搜索代码(非常常用)
ctrl + shift + F:根据待搜索的字符串查找这些字符串在代码中的位置
查找文件(非常常用)
ctrl + shift + N:根据根文件名查找文件
选中想被try/catch包围的语句,同时按下ctrl+alt+t,
实体类(entity)快速重写tostring方法:alt+insert à选择tostringà选择需要的字段