-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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 anyone (not just SCM) to hook into quick diff provider #169012
Comments
Part 1: split up the API. upcoming in part 2: In editor UX for multiple quick diffs. Fixes #169012
@laurentlb FYI in case you would also find this useful. |
* Add dropdown to quick diff when multiple providers Fixes microsoft#169012 * Fix git revert action in quick diff Fixes microsoft#172432 * Make dropdown drive entire quick diff peek - "x of y" detail - action bar * Handle providers being removed * Delete unused css * Address PR feedback
Will it also allow to show gutter markers? If yes, perhaps #167306 can be implemented with an extension |
Yes, this shows gutter markers. |
@alexr00 I've tried out this proposal (thrilled about it BTW) and I've run into an issue where it doesn't seem like the quickdiff is removed from the editor properly when disposed. I am currently turning on the feature by calling Also minor, but why is there a label both on the |
Playing with this some more (in today's insiders), it seems dispose works more reliably, but still not 100%. |
@eamodio there was a dispose that wasn't happening. It is fixed in insiders, though if you're not seeing it work 100% then I'll need to investigate further.
This will likely be deduplicated. |
Is I have the following sequence of events (vscode 1.76):
|
@alexr00 Any chance this could land soon? I would love to get this in. |
@eamodio do you have any other feedback on the API? Adding to February to revisit then. |
Not really it seems to work well as is. I have a branch with it implemented for the File Changes annotations in GitLens: https://github.com/gitkraken/vscode-gitlens/tree/feature/gutter-changes Thanks! |
Related? #196759 |
Moving back to the backlog as we're not going to get to #196759 this month. |
@alexr00 are there any plans to finalize this API? |
We don't have a plan to finalize it. Tentatively assigning to October to see if we have time then. |
Why this would be useful: microsoft/vscode-pull-request-github#392
We'll also need to determine what should happen when there are multiple quick diff providers on the same range.
The text was updated successfully, but these errors were encountered: