Command+F12 查看file,method结构图、类继承机构图 Command+shift+Option+U 查看maven依赖,类图 Command+E 定位到最近浏览过的文件 Ctrl+H 显示类结构图(类的继承层次)
Shift+F6 重命名 Ctrl+F6 重构函数
Note: ctrl is command in Mac
G用于直接跳转到文件尾 ZZ用于存盘退出Vi ZQ用于不存盘退出Vi /和?用于查找字符串 n继续查找下一个 yy复制一行 p粘帖在下一行,P粘贴在前一行 dd删除一行文本 x删除光标所在的字符 u取消上一次编辑操作(undo)
mac - The basic syntax for diff at the command line is as follows:
diff (file input 1) (file input 2)