fabiospampinato / vscode-diff

Diff 2 opened files with ease. Because running `code --diff path1 path2` is too slow.
MIT License
39 stars 9 forks source link

Hex diffing #25

Open AjaniBilby opened 1 year ago

AjaniBilby commented 1 year ago

Is there any possibility you could add support for the hex editor?

Currently when I try and run it in the hex editor I get an error saying You cannot diff an unsaved file

fabiospampinato commented 1 year ago

Maybe I could make the extension recognize files opened in the hex editor, but presumably you would like to have an hex editor diff also? I don't think there are APIs for that 🤔

AjaniBilby commented 1 year ago

I only know a bit about LSPs and not specifically about VSCode extensions, but it seems like VSCode's hexeditor doesn't have full comparitiblity with it's text editor, so I suspecting implementing this will likely be unncesssarily difficult.

VSCode currently has no diffing of hex files to my knowledge (i.e. git-diff)

fabiospampinato commented 5 months ago

As far as I know there are no APIs for implementing this. Once a way to implement this exists I can add support for it.