Side-by-side Git View #26770
Replies: 84 comments 230 replies
|
Xcode does a similar thing, and allows jumping from one change to the next with the up and down arrows, by clicking the divider between the views. |
|
I've been trying the current implementation for weeks, but I haven't found it to be more useful or clearer than the VS Code version, especially for comparing staged files and resolving Git conflicts. Have you considered opening an issue? I wasn't able to find one. |
|
I'd vote for this too. Having just come across Zed I think it looks great, but the diff view pales in comparison with the side-by-side that I'm used to in IntelliJ. |
|
This feature would be a great addition. Coming from VSCode, this is something that I miss a lot... |
|
This is one of the most important features for me |
|
Just copy-paste IntelliJ implementation, it's the best out there. |
|
Yup this is my number one missing feature. The over and above git view is really hard to get the context of the changes particular if they are more extensive. A side by side diff view where you can easily see the new file vs the old file (with changes highlighted) is so much easier to read. (It also works better when working with LLM's too as it's easier to copy past new and old files... to put into an llm). |
|
bumping this as i just switched to zed and this is currently one of my main struggles |
|
Also, add a panel that allows to choose what to compare with:
see #31961 |
|
Same here: Not having a side by side view for git changes is the one feature I am missing to fully switch over to Zed. |
|
I am alsao having this issue. Especially I do not want to make the agent changes and then bulk view but I want to stay in 'ask' mode and then 'generate' a diff per 'parts' I copy into the editor and inspect the diff. |
|
yeah i feels like i get used to so much seeing the diff side by side in vs code. a little bit trouble viewing it vertically. of course a skill issue though. |
|
Is it possible to use an external pager with Zed? While waiting for a built-in, https://github.com/dandavison/delta does a good side-by-side diff presentation. |
|
It's now in preview release |
|
Released: https://github.com/zed-industries/zed/releases/tag/v0.224.4 (#48912) |
|
Would love if this setting could apply to viewing git stash diffs also 🙏 |
|
I really wish there was a setting where the file was not truncated to the diffs and was a complete file. I would have to select other file diffs in the gitt view to view another one (as opposed to vertically scrolling). Regardless it's a good day for Zed users. Thanks to all who helped push this issue. |
|
Love it! I wonder if a setting to auto-switch between unified and side-by-side depending on screen width of editor would be helpful? When I have both LHS sidebar and the agent panel open, there's no room for a comfortable side-by-side view. |
|
A command should be added for |
|
So glad that this was finally implemented! But can the background on the side where stuff is empty please be some kind of neutral grey or something? I find this png-transparency-style checkered background really distracting 🙈 |
|
Glad this is rolled out! I think some additional improvements would help make this on par and able to migrate away from VS Code or other forks of it:
IMO, those 3 changes would massively make a difference from being able to migrate completely off other IDEs and fully commit to Zed! |
|
I love the feature and I'm stoked that it's been released! |
|
Finally its Live. Really happy for this and great job team... |
|
Hey all, v0.224 introduced the ability to view diffs in split mode. |
|
I've made a discussion for a feature request for curves in diff views (like JetBrains IDEs). |
|
I don't yet seem to have side-by-side view as an option when comparing two files... is that a known issue? |




Uh oh!
There was an error while loading. Please reload this page.
It would be nice to see changes side-by-side instead of vertically, with differences highlighted. For example, if I change a variable name from addtwonumbers to addTwoNumbers, the T and the N would be highlighted.
VS Code does something similar, and I think it provides a very easy viewing experience. As with vim, you could switch from the left buffer and right buffer with ctrl-w-h and ctrl-w-l.
The highlighting isn't that clear with vs code, but the side-by-side view is very nice to see. It means I can edit code in the git diff viewer, and see the changes to the original code in real time.
All reactions