Hi @axme100!
I agree that the Source pane could handle this more gracefully! It looks like there's actually an open issue for this problem on the Github tracker:
(Was that you who posted it? if not, you can help contribute by voting with a reaction emoji to let the IDE team know that this affects you, too)
In the meantime, here's a workaround I use:
- Make sure I leave my cursor at the point where I was working before I resize any panes
- Make sure I don't click into any other pane while I'm resizing
- After I'm done resizing the panes, hit the left arrow (←) or right arrow (→) key once. This should cause the Source pane to autoscroll back to where your cursor just moved, which should be only one character position off from where you left it.
I also turn on "Highlight selected line" in the code display options, so it's a little easier to visually find my place when that autoscroll happens:
