Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to diff 2 files in VS Code with command line arguments #3917

Closed
bpasero opened this issue Mar 9, 2016 · 6 comments
Closed

Allow to diff 2 files in VS Code with command line arguments #3917

bpasero opened this issue Mar 9, 2016 · 6 comments
Assignees
Labels
feature-request Request for new features or functionality verified Verification succeeded
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Mar 9, 2016

Thinking of the following syntax that would open a new window with the 2 files diffed:

code --diff <file1> <file2>

@bpasero bpasero added feature-request Request for new features or functionality workbench labels Mar 9, 2016
@bpasero bpasero added this to the Backlog milestone Mar 9, 2016
@bpasero bpasero modified the milestones: March 2016, Backlog Mar 10, 2016
@bpasero bpasero self-assigned this Mar 10, 2016
@bpasero bpasero added the verified Verification succeeded label Apr 29, 2016
@protoEvangelion
Copy link

protoEvangelion commented Aug 18, 2017

@bpasero Is there documentation for this?

@bpasero
Copy link
Member Author

bpasero commented Aug 19, 2017

@protoEvangelion like what?

@protoEvangelion
Copy link

protoEvangelion commented Aug 21, 2017

@bpasero Is the syntax for this diffing feature simply: code --diff <file1> <file2> ?

@bpasero
Copy link
Member Author

bpasero commented Aug 21, 2017

@protoEvangelion yeah see the help output:

image

@protoEvangelion
Copy link

@bpasero Nice! It looks great and thanks for the quick response :)

@gayanhewa
Copy link

Does the vscode api expose an interface that lets you do this with two document objects or Uri's

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants