功能1:查看类、方法或者实例的定义,go to the Declaration (of the Class/method/instance/vara):
方法1:菜单: G o To (Alt+G ) ---> D eclaration
方法2:Ctrl + B
方法3:Ctrl + 鼠标左键单击
方法4:鼠标滑轮单击
功能2:查找使用指定方法、类、实例、变量的使用情况,find usage:
方法1:菜单: S earch ---> Find U sages
方法2:快捷键组合: Ctrl/Alt/Shift + F7
功能3:新建包、类或者文件...,弹出 new 对话框,可以选择Package/Class/File...
方法1:菜单: E dit ---> N ew .
方法2:快捷键组合:焦点在Project里的某个package, Alt + Insert .
功能4:在类里面创建构造函数、设值/取值方法、覆写父类函数、equsls、hashCode方法
方法1:菜单: Cod e ---> G enerate...
方法2:快捷键组合:焦点在类里需要插入定义的位置, Alt + Insert .
Editor:
Virtual Space:
Allow placement of caret after end of line.一般去掉这个选项。