I use pycharm IDE (https://www.jetbrains.com/pycharm/ 6) and it provides “follow” feature. It’s very convenient.

EDIT: There are many IDEs provide following feature, like VS Code (Although I haven’t used this one.)