Reputation: 7146
Is there a shortcut in PyCharm to go to the place where a symbol is imported in current module?
I tried "Go To Declaration" but it goes to another module.
Upvotes: 13
Views: 2183
Reputation: 7146
Here is the answer from JetBrains support:
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.
Upvotes: 3