News for hackers. Stuff that matters.
Re:Tools I use: PyCharm / Idea plugins by jsemrau on Saturday November 20, 2021 @06:28PM (#29292739)
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

Re:Tools I use: PyCharm / Idea plugins by elondaits on Saturday November 20, 2021 @07:04PM (#29292947)
Don’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.
Re:Tools I use: PyCharm / Idea plugins by Bystroushaak on Saturday November 20, 2021 @07:22PM (#29293022)
Not 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.
Re:Tools I use: PyCharm / Idea plugins by Bystroushaak on Sunday November 21, 2021 @05:52AM (#29295394)
That should be CTRL+SHIFT+click, not just shift click. Muscle memory, heh.
Re:Tools I use: PyCharm / Idea plugins by saila on Saturday November 20, 2021 @06:39PM (#29292802)
You can do Cmd-F12 to show a popup list of globals, classes, methods, and functions and then you can type to filter the list.
Re:Tools I use: PyCharm / Idea plugins by Bystroushaak on Saturday November 20, 2021 @07:29PM (#29293059)
I 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_...

Re:Tools I use: PyCharm / Idea plugins by odonnellryan on Saturday November 20, 2021 @09:17PM (#29293604)
Scroll wheel click or Ctrl+b does this in pycharm.
Re:Tools I use: PyCharm / Idea plugins by Too on Sunday November 21, 2021 @03:03AM (#29294868)
Not 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.
Re:Tools I use: PyCharm / Idea plugins by dotancohen on Sunday November 21, 2021 @01:18AM (#29294560)
In Jetbrains IDEs, with the cursor on the function name press Alt-B. This will jump to the definition.