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

Expose context menu commands #5

Open muuvmuuv opened 5 years ago

muuvmuuv commented 5 years ago

Would be great to diff against a file directly instead of searching for it.

fabiospampinato commented 5 years ago

I'm not sure I'd like the extra clutter in the context menu 🤔

muuvmuuv commented 5 years ago

We could make it an option?

"diffEditor.showInContextMenu": true,

something like this but maybe more highlighted that people know they are diff two file not against git history.

Bildschirmfoto 2019-04-04 um 09 08 37

fabiospampinato commented 5 years ago

That would be ok but I don't think VSC's APIs allow for conditional context menu items.

muuvmuuv commented 4 years ago

Have a look at this extension. Don't know where the source code is but they added two items to the context menu.

https://marketplace.visualstudio.com/items?itemName=ezforo.copy-relative-path-and-line-numbers#review-details

BananaAcid commented 4 years ago

This would be great. As it helps ppl not used to type commands.