Closed gwerbin closed 6 years ago
There is no way to use this Sublime plugin as a difftool
. You may want to check out Sublime's own offering of a stand-alone Git GUI.
(Disclaimer: I've not used this tool, but it certainly looks to have a lot of good features as a stand-alone application).
@CJTozer thanks for clarifying and thanks for the recommendation.
In theory, would it be possible to rig something up where difftool
starts Sublime and then shows the diff using this plugin?
Well, interesting question. Looking at the Unofficial Docs it seems there's a --command
parameter you could pass to ST3 on start-up.
So in theory perhaps yes, you could get something like this to work, but:
diftool
would need quite a lot of enhancements to make work in DiffView (to make it understand the parameters it was being passed)So, yes in theory it's possible to rig something up, but I think it won't "just work" and would be quite fiddly to make it all line up - likely requiring quite a large enhancement on the plugin itself.
Thanks for your interest - sorry this doesn't meet the use case you're looking for.
Git makes it possible to use an external "difftool" in place of the stock command-line pager-based diff viewer. Can DiffView be configured somehow as a Git difftool?