Stopped working on Win 10 / ST4 4152 after update from Diffy to Diffable
derikmacedo opened this issue · comments
Stopped working on Win 10 / ST4 4152 after update from Diffy to Diffable
Absolutely, I've got you covered. There have been several breaking changes introduced with this release
- The command name has changed from
diffy
todiffable
. Thus, you will need to manually adjust your keybindings. Please refer to this chapter and this chapter for guidance. - The custom diff engine has been replaced with the built-in one from ST. While this introduces an additional keystroke for a char by char comparison, it's as simple as pressing
super+k, [THEN] super+/
. Doing so will produce the same result as shown in the below image.
FYI: I'd like to keep the Diffy plugin key-binding enabled in this one, but unfortunately it's causing some conflicts. The package control repo tests aren't passing satisfactorily this way as it appears that there are some conflicts with Sublime Text's own key bindings.
![Screenshot 2023-10-16 at 19 46 41](https://private-user-images.githubusercontent.com/16612247/275605039-d79387ce-fc80-43a0-b1c7-d38d1ec42fee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzMDg4OTMsIm5iZiI6MTcyNTMwODU5MywicGF0aCI6Ii8xNjYxMjI0Ny8yNzU2MDUwMzktZDc5Mzg3Y2UtZmM4MC00M2EwLWIxYzctZDM4ZDFlYzQyZmVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAyVDIwMjMxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmZTRhYTk2OGVlMDMxZWY1OGIyY2YwMjE3N2MwYzlkN2Q0OWY3MDFlNTM1MzY1MTZmYzZjMTgyMmVmMmM1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.982vC5U9f6j_QxmfuDUq4ddacvYX_lYB6V7QvrJSUmI)
I believe this one is solved as well. Please reopen it if not.
Hi, I have a similar problem.
When I list the installed packages, I see Diffable v2.0.1.
I'm also on windows using Sublime Text 4152.
- Hitting Ctrl+Shift+P and typing "Diff" I don't see Diffable at all.
- If I right click into the text field I have a Diffable context menu, but all options are grayed out.
- I also set a keybinding to ctrl+k, ctrl+d but that doesn't do anything either.
I'm doing all this with two tabs open side by side.
@edditler aha, I see. Should be fixed in 2.0.2.
FYI: you are talking not about active tabs (which is super+mouse1) but about ST windows groups which were broken 2.0.1.
When will this version roll out? I installed the latest version from package control, but I am facing the same issue. Inline diff does not work anymore.
When will this version roll out? I installed the latest version from package control, but I am facing the same issue. Inline diff does not work anymore.
It's already released. Could you provide st and plugin version and how do you try to use it, i.e. tabs or groups?
When will this version roll out? I installed the latest version from package control, but I am facing the same issue. Inline diff does not work anymore.
It's already released. Could you provide st and plugin version and how do you try to use it, i.e. tabs or groups?
SublimeBuild 4152, package version is 2.0.2
.
Trying to use a split view diff. Two windows next to each other.
When will this version roll out? I installed the latest version from package control, but I am facing the same issue. Inline diff does not work anymore.
It's already released. Could you provide st and plugin version and how do you try to use it, i.e. tabs or groups?
SublimeBuild 4152, package version is
2.0.2
.Trying to use a split view diff. Two windows next to each other.
Let's dig deeper. How exactly the plugin is not working? Is it the context menu items are inactive or is it something else?
Elaboration of steps you're taking before it fails would really help.
Trying to use a split view diff. Two windows next to each other.
Wait a minute! Do I got you right that you mean literally windows? Not two tabs or groups of tabs in a row within a single ST window, but two separate windows exactly?
Trying to use a split view diff. Two windows next to each other.
Wait a minute! Do I got you right that you mean literally windows? Not two tabs or groups of tabs in a row within a single ST window, but two separate windows exactly?
Apologize for the confusion two columns (Alt+Shift+2).
I took a screenshot, but while taking the screenshot I realized that diffable works now!
However, unlike diffy, it does not seem to highlight text anymore but instead just marks the lines that have changed?
The command I used was Diffable: Compare Inline
@fruffy yep that helped.
As I said a few comments before:
The custom diff engine has been replaced with the built-in one from ST. While this introduces an additional keystroke for a char by char comparison, it's as simple as pressing
super+k, [THEN] super+/
. Doing so will produce the same result as shown in the below image.
But I'll consider to eliminate this additional step in the future somehow. I see how confusing it is.
Ah, I missed that one. Thanks! Everything work as intended it seems.
I have rebound these shortcuts, which explains why it didn't work. Maybe adding a specific command that includes this step helps?
I have rebound these shortcuts, which explains why it didn't work. Maybe adding a specific command that includes this step helps?
Yep, there's a branch related to that feature/auto-diffs-toggle
. But there's a hitch with it: the caret should be within the diff to get it toggled, and unfortunately I'm not aware about an easy yet user convenient way to do that properly.
I mean select_all
-> toggle_diff
isn't a proper way to do that coz it's either messes with user caret obviously or making a plugin overcomplicated by storing an initial caret place within.
So it's kind of in WIP, but I wouldn't expect it anytime soon.