Goal: minimize cognitive burden when reading/tweaking python code.
Hypothesis: Jumping to parent/helper fn definition is a start. Being able to read the implementation on hover is even better.
Pycharm
Push Members Down 2
Warning: This actually copies the implementation of methods to the child class. git checkout -b {code_reading} first or git stash after.
Go to name of child class.
Type meta-b to go to declaration of parent class.
Right click -> refactor -> push members down. Check all the boxes that you want to read in your child’s file:
820×645 84.9 KB
Result:
688×542 43.8 KB