sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Remember file selection when selecting different commits (file history) #1730

Closed bergerkiller closed 1 year ago

bergerkiller commented 1 year ago

Been test-running sublime merge a little bit to see if it fits my use case. I've hit one stumbling block, but I may have missed a configuration or UI element...

Problem description

When I want to quickly assess the history of a single file, I want to click between commits and view the changes in that file. Instead, sublime merge automatically switches to the summary tab every single time. I've not found a way to disable this behavior in the configuration or by searching online.

This is especially annoying when viewing file history (file:"path/to/file.py")

Preferred solution

Added option in configuration to re-select the same file you had selected previously (or summary, if summary was selected) when switching between commits.

Alternatives

Separate view to highlight only the changes to a single file, and no tabs for other files/summary changed.

bergerkiller commented 1 year ago

I do now notice that if a file: view is active, only the file is shown in the summary. So that does solve the problem a little bit for me. It does still jumble up the selection when selecting between other commits, but that's less of a problem.

Might be this can be closed.