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 toggle git hunk diffs #11080
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 tasks
SomeoneToIgnore
force-pushed
the
kb/gutter-diff-hunks
branch
from
April 29, 2024 08:16
abbca59
to
89fe8d5
Compare
cla-bot
bot
added
the
cla-signed
The user has signed the Contributor License Agreement
label
Apr 29, 2024
SomeoneToIgnore
force-pushed
the
kb/gutter-diff-hunks
branch
7 times, most recently
from
April 30, 2024 23:16
13971be
to
daad9ff
Compare
* use the same language as in the parent editor * disable gutter in the new block and use padding instead
This reverts commit 15c709c.
Fix imporper git hunk toggling code
This reverts commit 51e5198.
Omit `git` from all entities, as any VCS can be used as a base.
SomeoneToIgnore
force-pushed
the
kb/gutter-diff-hunks
branch
from
May 1, 2024 19:37
daad9ff
to
b6d3e92
Compare
luckydye
pushed a commit
to luckydye/zed
that referenced
this pull request
May 2, 2024
Part of zed-industries#4523 Added two new actions with the default keybindings ``` "cmd-'": "editor::ToggleHunkDiff", "cmd-\"": "editor::ExpandAllHunkDiffs", ``` that allow to browse git hunk diffs in Zed: https://github.com/zed-industries/zed/assets/2690773/9a8a7d10-ed06-4960-b4ee-fe28fc5c4768 The hunks are dynamic and alter on user folds and modifications, or toggle hidden, if the modifications were not adjacent to the expanded hunk. Release Notes: - Added `editor::ToggleHunkDiff` (`cmd-'`) and `editor::ExpandAllHunkDiffs` (`cmd-"`) actions to browse git hunk diffs in Zed
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #4523
Added two new actions with the default keybindings
that allow to browse git hunk diffs in Zed:
Untitled.mov
The hunks are dynamic and alter on user folds and modifications, or toggle hidden, if the modifications were not adjacent to the expanded hunk.
Release Notes:
editor::ToggleHunkDiff
(cmd-'
) andeditor::ExpandAllHunkDiffs
(cmd-"
) actions to browse git hunk diffs in Zed