CodeEditApp / CodeEdit

📝 CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.
https://codeedit.app
MIT License
21.13k stars 1.02k forks source link

✨ Git Diff + Tree views #62

Open WardsParadox opened 2 years ago

WardsParadox commented 2 years ago

A diff view and tree view built in for git (and other version control systems) would be a great addition. One less plugin needed :)

Opening diff view from CLI would also be nice to have.

austincondiff commented 2 years ago

For reference...

01-macOS-code-edit-source-control
WardsParadox commented 2 years ago

That looks pretty good. But lacks standard symbols (+, -) for diffs or highlighting specifics

austincondiff commented 2 years ago

On line 16 it is highlighting specifics ("mockData"). This is just a mockup and is exactly how Xcode handles it so behavior should probably be default.

viktorstrate commented 2 years ago

I like the way Github shows diffs such that matching lines are always next to each others, rather than the way XCode does it, where lines are offset as shown on the screenshot in the earlier comment.

I think this makes it much easier to compare files in practice.

Screenshot 2022-03-20 at 18 33 19
sk409 commented 2 years ago

@austincondiff I would like to work on this issue if I can implement this in GitHub style.

austincondiff commented 2 years ago

Let’s default it to how Xcode handles this with a setting to offset the lines as mentioned. Does that work for everyone?

sk409 commented 2 years ago

@austincondiff I haven‘t figured out how to implement this but I‘d like to work on this issue. Please assign this issue to me.