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

Open a diff of 2 files from the command line #3954

Closed
3 tasks done
bpasero opened this issue Mar 10, 2016 · 3 comments
Closed
3 tasks done

Open a diff of 2 files from the command line #3954

bpasero opened this issue Mar 10, 2016 · 3 comments

Comments

@bpasero
Copy link
Member

bpasero commented Mar 10, 2016

Assignees:

You can now bring up the diff editor on any 2 existing files by using the command line in the form:
code --diff <file1> <file2>

  • Verify this opens the diff editor on the provided files
  • Verify this works for when code is running or not
  • Verify corner cases (e.g. files do not exist, one path instead of two, etc)
  • Verify our rules for picking windows are respected (-r to force reuse a window is respected)
@bpasero bpasero added this to the March 2016 milestone Mar 10, 2016
@felixfbecker
Copy link
Contributor

That is pretty cool.

@bgse
Copy link
Contributor

bgse commented Mar 10, 2016

👍

For your convenience, there is an issue open on this: #1768

@bpasero
Copy link
Member Author

bpasero commented Mar 10, 2016

Nice, I knew we had duplicates on this :)

@egamma egamma mentioned this issue Mar 13, 2016
82 tasks
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants