sublimehq / sublime_merge

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

Include current changes to the `file:"<file-path>"` view #1681

Open Zwyx opened 1 year ago

Zwyx commented 1 year ago

Problem description

I've been using this VS Code extension for a couple of years, it allows to quickly jump from VS Code to Sublime Merge.

The feature I use the most is View File History in Sublime Merge. It opens Sublime with the search bar content set at file:"<file-path>".

However, this view only shows the committed history of the file, not the current changes. But quite often, it's specially the current changes that I would like to see.

Preferred solution

In the views file:"<file-path>", include the current changes. Same as what's usually shown in the standard view when clicking the top most entry in the commit list:

image