To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press Ctrl+B. You can also click the mouse on usages with the Ctrl key pressed to jump to declarations.
请教一下,usage前面为什么一下用at,一下用on?
To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press Ctrl+B. You can also click the mouse on usages with the Ctrl key pressed to jump to declarations.
从文中看出,usage 指仪器盘(或键盘)上的一个“符号”。这两个介词跟usage 本身无关,而是跟前面的名词或动词搭配有关(注意红色部分)。
1. the caret at the usage:意思是“在usage 一侧的那个空格符”,at 表示位置:在一侧。at the usage 作定语修饰the caret(空格符)
2. click the mouse on usages :意思是“用鼠标点击 usages 符号”,on 表示位置:在上面(接触)。
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!