打开idea 创建一个java class文件
psvm 回车 就会在代码中自动写出 main方法
sout 回车 就会 system.out
ctrl+shift+F10 编译启动项目
alt+4 在隐藏输出之后可以显示输出
进入file下的settings 修改自动补全提示的快捷键 原来是Ctrl+空格 改成Alt+ 因为ctrl+空格被输入法占用了
alt+enter 尝试代码修复
ctrl+Y 删除当前光标所在行
ctrl+d 复制当前代码所在行
ctrl+alt+L 格式化代码
ctrl+/ 单行注释与取消注释
alt+insert 自动生成代码 tostring get set等
alt+shift+上下箭头 移动当前代码行
ctrl+shift+/ 多行注释