4. Open a class : cmd + o (Windows / Linux:ctrl + n)。
5. Open any file :cmd + shift + o (Windows / Linux:ctrl + shift + n)。
6. Open symbol : cmd + option + o (Windows / Linux:alt + shift + n)。
7. Go to implementation : cmd + option + b (Windows / Linux:ctrl + alt + b)。
假设您有一个界面,通过单击接口的名称,然后单击 Go to implementation 的快捷方式,您将被重定向到实现该接口的类。
8. Go to declaration : cmd + b (Windows / Linux:ctrl + b)。
它允许您快速检查并转到类、方法或变量的声明。
9. Go to type declaration : control + shift + b(Windows / Linux:ctrl + shift + b)。
假设您如此定义:
Employee employee = new Employee(“Michal”);
当你的插入符号employee并单击快捷方式时,将会被重定向到Employee类。
10. Go to super : cmd + u(Windows / Linux:ctrl + u)。
例如,您重写一些方法。当你在方法名称插入符号,并单击转到 Go to super 快捷方式,您将被重定向到父方法。
11.