-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
See git diff of two files in horizontal layout #26856
Comments
You can arrange multiple editors horizontally, but the diff is always vertical. |
Gah, I'm adding my vote of support for this issue. So many ways to split the editor windows now but the diff has to be vertical? This isn't ideal; code is more likely to be wide than long. Please add an option to have a horizontal split for diffs! |
@bpasero alright, so as of now it's only vertical. Will horizontal code diff be available? EDIT Ok! I just saw it was added to the backlog! VSCode is the best there is, thanks for the work! 👌 |
As someone who likes coding on a vertical monitor, it is very awkward to view diffs! Any updates on this issue? |
bumping this issue , it would be really useful for me as well since I'm trying to move my whole workflow to the vscode IDE on a vertically pivoted monitor and I'm forced right now to use the inline diff to commit stuff partially it'd be really helpful if somebody could tell me if taking this as a task and contributing would make sense - as I'm not sure if:
|
any updates on this? |
I really want this too. A way to toggle "diff" orientation with a quick key sequence. |
@kiprasmel you're a wonderful human, thanks for pointing that out. I see it, and honestly I don't care where it comes from, as long as I have it 😅 |
Please add this feature! It's pretty common and expected coming from other editors. |
While "Inline View" is pretty helpful for observing the changes in a long line of code, split horizontal editors is required when editing a part of code while needing to view another part of changed code. |
Inline View does not show up in the It should always quickly adjustable thing. |
I have a vertical screen and I would like to add that I would love to have git diff in a horizontal layout. As a cherry on top feature would be to detect if the editor is in a vertical orientation and automatically open diffs horizontally or only inline, but keep the side by side diff if the editor is on a horizontal orientation. Even switch the current view if the window is moved from a horizontal to a vertical display. |
+1 for this feature to be added. Although I found it really helpful to use line wrapping with the current view, by pressing Alt + z on windows. |
While "Inline view" is fine for some situations I find I'm still missing a horizontal layout equivalent of the current vertical side by side diff, as mentioned by others this allows one to make better use of screen real estate when dealing with wide code, e.g. I find myself closing VS code side bars just so I can see more of the diff'ed code even though I actually want the side bar open in order to select the next file to review (this came up in the context of using the GitHub Pull Request and Issues extension which shows the changed files in a side bar pane). |
I would love to see this as well! |
As a dual vertical monitor user I'd love this feature as well. For now I'm satiated toggling between the inline and split views with line wrapping though (thanks to all the suggestions and discussion above!) |
I'm a vertical monitor user. It would be really nice to see this implemented. |
Adding my vote in to this, vertical monitor user. |
Nice, +1 "vote" from me |
+1 |
VERTICAL MONITOR GANG |
need this +1 |
Is this supported by other editors? If so, can you share screenshots? |
I followed the thread of impementing horizontal window splitting, thank you for that.
I don't seem to be able to achieve the same effect with the git diff view:
Am I missing something? I know there's a toggle inline diff, but that's not the solution.
If it's not implemented I think it should be, for the same reasons.
The text was updated successfully, but these errors were encountered: