-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
WorkspaceEdit for files isn't atomic/undoable #52927
Comments
I also wonder if we should specify the reason for returning false. How can an extension react correctly to a |
Well, there is this: |
@jrieken Wait, I don't think that's true. |
Yeah, I think it's still a desirable goal ;-) |
It is... but aren't the docs wrong if they say it's |
yeah, I was hoping we can fix it once this goes to stable API... I'll reopen and see what I can do there |
@bpasero Is it in reach to undo a file operation? Anything like that supported or thought of in the file/textfile service? |
@jrieken the |
Slightly different topic, but also to be improved in the vscode.d.ts comment:
For text edits applied at the same offset, the rule is: |
Refs: #52800
I could not find anywhere specified that if one workspace edit fails, all consective edits will not even be attempted.
If feel like this is good behavior but expect some explanation in our vscode.d.ts comments.
The text was updated successfully, but these errors were encountered: