git_ui: Open file on double-click in status list#47989
git_ui: Open file on double-click in status list#47989cole-miller merged 1 commit intozed-industries:mainfrom
Conversation
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
|
This change improves the user experience in the Git Panel by allowing users to open a file in the editor by double-clicking its entry in the status list. Previously, opening a file required a secondary click (e.g., Cmd/Ctrl+Click). Single clicking continues to open the file in the diff view. |
|
Thanks! |
|
Small feedback here: Since #40616 was shipped, I am missing a lot the old behaviour that is: secondary click just open the file but without expanded diff hunks. I also saw that in the linked PR, it was said that no configuration should be needed, but I personally find this very annoying. I extensively use this when working to navigate through changed files. Anyhow, I am willing to PR to add a configuration, but one idea could also be to distinguish the 2 actions like so:
wdyt? |
Hi @AlexandreBonaventure , The original functionality remains unchanged; only the double-click behavior was modified to just open the file. This change has not been released yet. |
|
@cppcoffee sure, yes I understand! I was just sharing my thoughts for how we could use the double-click to bring back the old behaviour (I miss it :) ) in a follow-up PR if that makes sense! |
Hi @AlexandreBonaventure , Double-click is undefined in the latest release version: 2026-02-05.10.20.54.mov |
|
yes I know :) |
This modification did not change the original right-click functionality, the operation is as follows: 2026-02-06.09.20.48.mov |
Release Notes: