-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Git actions are enabled when doing a simple "Compare Selected" #48676
Comments
For not being able to edit: #4180 I'll leave the issue open to address the fact that those Git actions shouldn't even be there when doing such comparisons. |
@bpasero I wonder if the |
@joaomoreno are you referring to the "Open File" action? |
Nah, to the |
@joaomoreno I suggest that the @alexandrudima to comment if that is OK to add to that widget. |
We can put the entire URI, I don't mind. Do we do that for a regular editor as well? If yes, we could just try to reuse the same key / same implementation. |
We do have |
ping @jrieken for opinion -- how should we represent the two diffed resources in the diff editor? Should we attempt to reuse |
I believe we need a prefix for the diff editor though to support both left and right hand side. In theory both sides are "active" (maybe not focused). So we could have 2 resource context keys (original, modified) for the diff editor. |
Steps to Reproduce:
The resulting comparison pane has a number of issues carried over from when it was exclusively for comparing versions in a source-control context.
The command menu should instead include "Copy to right/left" actions as in #25887. Broadly, the comparison view should optionally treat the left side as read-only (which makes sense in
git diff
context) and at least stop using "stage" actions when not opened by a source-control provider. IMHO, "left/right" terminology is always clear while "stage/unstage" is only helpful in very limited context.The text was updated successfully, but these errors were encountered: