Skip to content

editor: Improve multi-buffer header filename click to jump to the latest selection from that buffer - take 2#42613

Merged
smitbarmase merged 3 commits intomainfrom
improve-multi-buffer-header-click
Nov 13, 2025
Merged

editor: Improve multi-buffer header filename click to jump to the latest selection from that buffer - take 2#42613
smitbarmase merged 3 commits intomainfrom
improve-multi-buffer-header-click

Conversation

@smitbarmase
Copy link
Member

Relands #42480

Release Notes:

  • Clicking the multi-buffer header file name or the "Open file" button now jumps to the most recent selection in that buffer, if one exists.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 13, 2025
smitbarmase and others added 2 commits November 13, 2025 16:48
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
@smitbarmase smitbarmase merged commit b5633f5 into main Nov 13, 2025
23 checks passed
@smitbarmase smitbarmase deleted the improve-multi-buffer-header-click branch November 13, 2025 11:44
@VladimirTaytor
Copy link

Hey @smitbarmase is it final UX for search results buffer header?

Previously simple mouse click anywhere on header would Open file in a new tab
But now I find it pretty inconvenient that to open file I need to aim to file name (which always has different size) or to the Open file button which is not even showing until user focuses on particular file search results

There is workaround with a "double_click_in_multibuffer": "open", but still my old muscle memory always clicking on header itself and file is collapsed instead of opening in new tab 😄

Thanks for your work, Zed is the best 💪

11happy pushed a commit to 11happy/zed that referenced this pull request Dec 1, 2025
…est selection from that buffer - take 2 (zed-industries#42613)

Relands zed-industries#42480

Release Notes:

- Clicking the multi-buffer header file name or the "Open file" button
now jumps to the most recent selection in that buffer, if one exists.

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants