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 may also click the mouse on usages with the Ctrl key pressed to jump to declarations.
要导航至代码中某处所使用的某个类、方法或变量的声明,将脱字符放置在所使用的对象处,按下【ctrl+B】,也可以用鼠标点击所使用的对象,按【ctrl】跳转至声明处
PyCharm每日技巧-1
时间: 2024-11-04 19:09:21