Re-associate Command-D with Commit Diff instead of VCS Plain Diff
已回答
How can I re-associate Command-D (on macOS) with the Commit Diff viewer instead of the VCS Plain Diff viewer?
Currently, I can get a Commit Diff viewer by selecting the file I want in the Commit Tool Window, then using Command-D.
But if I use Command-D while the file is open in the editor and the editor has the focus, I just get a VCS Plain Diff viewer.
The difference is that the Commit Diff viewer allows me to select the chunks to commit, while the VCS Plain Diff viewer doesn't allow chunk selection. The Commit Diff viewer additionally has "Commit: " prepended to the file name as its tab name, instead of just the file name.
请先登录再写评论。
Hi Ross
This is currently not possible as these are two different actions.
First one is Compare with the same repository version and has no information about changelists.
Second one is changelist related (hence you are able to commit specific lines etc)
I have made a request for this: https://youtrack.jetbrains.com/issue/IDEA-329718/Add-Compare-with-the-same-repository-version-in-the-current-changelist-action-to-the-project-view
Please feel free to vote and comment.
Thanks. Commented on the issue.