33 ms·
Is there a PyCharm plugin that maps your functions? I.e., your code is def function_1 def function_2 def function_3 and the plugin provides clickable links
by jsemrau 5y ago
Is there a PyCharm plugin that maps your functions?
I.e.,
your code is
def function_1
def function_2
def function_3
and the plugin provides clickable links to the function definition
- saila 5y agoYou can do Cmd-F12 to show a popup list of globals, classes, methods, and functions and then you can type to filter the list.
- Bystroushaak 5y agoI usually have Structure side panel[1], which shows all of the definition signatures (classes, variables and functions), and probably the thing you mentioned (CTRL+r on linux), and also if you double press shift, it will do a semantic search trough the whole project. [1] You can see it on the left https://blog.rfox.eu/en/Programming/Tools_I_use/Tools_I_use_PyCharm_-_Idea_plugins/codeglance.png https://blog.rfox.eu/en/Programming/Tools_I_use/Tools_I_use_...
- elondaits 5y agoDon’t know about PyCharm, but in other JetBrains IDEs you command-click on a function name and it takes you to the declaration, and command-click on the declaration opens the list of invocations.
- Bystroushaak 5y agoNot sure about bare PyCharm, but if I shift click on any function use, it goes to the function definition. When I shift click on the definition, it shows me all of the uses. I use a lot of custom shortcuts for things like refactoring (rename, move up / down the class hierarchy, move to another file, change signature / arguments) and to show quick documentation.
- Bystroushaak 5y agoThat should be CTRL+SHIFT+click, not just shift click. Muscle memory, heh.
- odonnellryan 5y agoScroll wheel click or Ctrl+b does this in pycharm.
- dotancohen 5y agoIn Jetbrains IDEs, with the cursor on the function name press Alt-B. This will jump to the definition.
- Too 5y agoNot sure what you mean but listing all functions in the open file is found on the side bar next to your project tree. Or press Alt+7.