PyCharm 中是否有快捷方式可以转到当前模块中导入符号的位置?
我尝试了“转到声明”,但它转到了另一个模块。
最佳答案
这是来自 JetBrains 支持的答案:
Try to use a shortcut for "Find Usages in current file": https://www.jetbrains.com/help/pycharm/finding-usages-in-the-current-file.html
To find usages of a symbol in the current file
- Click the desired symbol in the editor, or in the Structure view.
- On the main menu, choose Edit | Find | Find Usages in File, or press Ctrl+F7. The encountered usage is highlighted in the editor.
关于pycharm - 如何在 PyCharm 中导入?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23051804/