快捷键适合前后端开发程序员

前言:开发快捷键,用于节省时间

shift + shift (ctrl + n): 根据类名查找;
ctrl + p: 查看方法的参数;
ctrl + o: 选择要重写的方法;
ctrl + i: 选择要重写的方法;
ctrl + f:查找单词;
ctrl + e:打开最近打开过的文件;
ctrl + d: 复制一行;
ctrl + x: 删除一行;
f2: 查看文件的错误处;
ctrl + alt + l:代码格式化。
ctrl+h:查看类的继承结构;
atl + 1:打开工程结构视图;
ctrl + tab:任意选择打开;
shitf + 鼠标点击:关闭窗口;
shitf + f6: 类的重命名;
ctrl + shift + Backspace: 跳到上次编辑的地方;
ctrl + w: 选择单词或者内容;
alt + f1: 查看代码所在的位置;
alt + 左右:切换视图;
alt + enter: 自动修复;
alt + insert: 生成setter getter或者构造方法;
ctrl + shift + space: 代码提示;
ctrl + shift + a: 创建类、接口、枚举等;
ctrl + shift + enter: 自动补全;
ctrl + alt + b: 在类上查看继承结构或者代码的实现处;
alt + shif + 上下:上移一行或者下移一行;
alt + 上下:查找下一个方法或上一个方法;
ctrl + alt + 左右:上一次浏览的地方。
ctrl + shift + u: 大小写转换;
ctrl + alt + s: 打开设置窗口;
ctrl + shift + f12: 窗口最大化;
ctrl + +: 展开折叠代码;
ctrl + -: 折叠代码;
ctrl + F12: 显示当前文件的结构。
ctrl + alt + insert: 新建类

猜你喜欢

转载自blog.csdn.net/weixin_43501566/article/details/108114409