Scroll lock between adjacent editor tabs, Compare Selected command

If either of these features is already present in PyCharm, please excuse me. I did what I think is a reasonable amount of research before posting here.

What I would like is the ability to lock/unlock, or synchronize/un-synchronize if you will, the scrolling of two adjacent editor tabs at their current position. The tabs need not have the same file loaded, but could have. In fact, it is the 'same file' case that I am most interested in.

I have found the 'Compare with Clipboard' feature, and that works ok I guess. IMHO, what would work better would be a 'Compare Selected' feature that compared the selected text in multiple tabs without having to first copy one of those selections to the clipboard. With that functionality in place, a scroll lock (especially a vertical scroll lock on a vertically split file) would be a complimentary feature, making it easier to get the two chunks of the file that need to be compared into view at the same time so that they can be selected.

This is a common need when refactoring poorly written legacy code that has been copy-and-pasted-and-hacked multiple times within the same module.
25
Avatar
Cristian Viorel Pasat

I'd also like to find synchronized scrolling functionality!

3

"This is a common need when refactoring poorly written legacy code that has been copy-and-pasted-and-hacked multiple times within the same module.

 

I need this for this exact reason!!

3

Please see feature request https://youtrack.jetbrains.com/issue/IDEA-143062

If it doesn't cover your case, feel free to submit a new request.

1

Andrey Resler  Warren Smith Hi, Are there any news on this ?

1

Just found this ticket when looking for that feature and I can only agree that it would be really helpful! I'd love to be able to sync scrolling on different files as I do that really often, but also be able to scroll and compare with a previous version of the same file would be really really neat for refactoring legacy code!

0

Defetenely i total agree this request. Very useful !.

0

Has a request for this been submitted? 

0

I came across this while looking for this feature, assuming it was built in. Get's my vote 

0

Shut up, and take my Vote!

 

2

This is still relevant. Is there somethink, that would implement this behaviour?

0

请先登录再写评论。