4 ms·
I just noticed this in the blog / release notes: >Comparing files > We have added a new API command that allows you > to use the diff-editor on two
by alexc05 10y ago
I just noticed this in the blog / release notes:
>Comparing files
> We have added a new API command that allows you
> to use the diff-editor on two arbitrary resources
> like so:
> commands.executeCommand('vscode.diff', uri1, uri2)
does anyone know where I can enter commands so I can try that out?
Reading that, it seems like I can use VSCODE to diff two different web pages?
That'd be really cool if I could (for example):
commands.executeCommand('vscode.diff', "http://www.google.com", "http://www.google.ca")
- grenoire 10y agoThe F1 keys opens up the command palette [1], I'm assuming it's accessible through there. [1]: https://code.visualstudio.com/Docs/editor/codebasics https://code.visualstudio.com/Docs/editor/codebasics