ryu1kn / vscode-partial-diff

Visual Studio Code Extension. Take a diff of 2 parts of text(s)
https://marketplace.visualstudio.com/items?itemName=ryu1kn.partial-diff
MIT License
184 stars 15 forks source link

Compare tab resets when focus leaves tab #22

Closed FullShovelDev closed 5 years ago

FullShovelDev commented 6 years ago

Don't think this is a bug but it would be great if the compare tab didn't reset focus back to the first match when the tab loses focus.

Thank you!

ryu1kn commented 6 years ago

I can see the same behaviour on VS Code's file comparison. I guess this is the same issue with https://github.com/Microsoft/vscode/issues/10663

Unfortunately, I don't think I can do much from partial diff side. To fix this, I wonder we need to help VS Code's diff editor itself...

ryu1kn commented 5 years ago

Just confirmed that, thanks to the fix on the vscode ticket, this issue has already been fixed. It doesn't go back to the first different position.