Skip to content

Wait for paste to finish in paste command (fixes #196161)#196516

Merged
alexdima merged 3 commits intomicrosoft:mainfrom
r3m0t:issue-196161-paste-fix
Dec 8, 2023
Merged

Wait for paste to finish in paste command (fixes #196161)#196516
alexdima merged 3 commits intomicrosoft:mainfrom
r3m0t:issue-196161-paste-fix

Conversation

@r3m0t
Copy link
Contributor

@r3m0t r3m0t commented Oct 24, 2023

Fixes #196161

Now, the command editor.action.clipboardPasteAction doesn't finish until the paste actually applies in the document.

To test: Use this extension- https://gist.github.com/justanotheranonymoususer/016f6ada29d6c43487e68fbd066442fe

Expected with change: the loop completes

Without change: Notification appears 'Mismatch, pasted: actual:'

Tested on Windows

@bpasero bpasero assigned hediet and alexdima and unassigned bpasero Oct 25, 2023
@justanotheranonymoususer
Copy link
Contributor

Hi @hediet and @alexdima, any chance to get this merged for the next release?

@hediet hediet added this to the December 2023 milestone Nov 28, 2023
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alexdima alexdima merged commit a28e68a into microsoft:main Dec 8, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

6 participants