Say I'm reading file xyz.py, and as function func_x, which is on line x, calls class_y, which is on line y, I want to see both func_x and class_y at the same time so that I don't have to keep on scrolling up and down to read func_x and class_y. How would I open file xyz.py side by side so that I can read both func_x and class_y at the same time?
Edit: This isn't this, as it doesn't explain how to have the same window side by side.
In the top right of your screen there should be a split editor button that looks like this:
That should do the trick.
The default keyboard shortcut (on windows) is Ctrl+
1.4m articles
1.4m replys
5 comments
57.0k users