fabiospampinato / vscode-diff

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

does not allow selection of open buffer #12

Closed enuggetry closed 4 years ago

enuggetry commented 4 years ago

It doesn't seem to allow me to select an open buffer at all when I select the command.

fabiospampinato commented 4 years ago

What's an open buffer though? What is the extension doing vs what do you think it should be doing?

enuggetry commented 4 years ago

From the example, I believed the implication was that I can choose from the files that I have open. Perhaps I was mistaken?

fabiospampinato commented 4 years ago

Ideally it should work like that, or at least currently opened files should be listed first or something, but I don't think there's any API for retrieving the list of currently open files yes.

enuggetry commented 4 years ago

That seems to be the problem, then. The operation doesn't seem to match the animated demonstration you have on the main page.

fabiospampinato commented 4 years ago

I guess I only had those files in the workspace.

enuggetry commented 4 years ago

Well, if it's supposed to work with open files in the workspace, I haven't been able to get it to work. I'm not sure how it works otherwise. In this respect, I would say it's still an issue.