-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Using applyEdit with replaceCellMetadata or replaceCellOutput fails with no output #105624
Comments
There were still quite some issues with this on Friday, so trying today's insiders might show other results. Here are a bunch of tests that seem to be green.
This rings a bell. You aren't |
Seeing an error because
That's a bad sign because it means we don't propagate all changes from the renderer to extension host side... |
Ok, another source of trouble is the version id of the notebook. We send the version id that we know on the extension host and compare that with renderer's value of the version id. If they are different, we discard the edit. However, the are quite some places where the version id changes (in the renderer) without us sending a message to the extension host, e.g when cell text changes the notebook's version id increases but that's not forwarded to the extension host. This needs some thinking and is part of larger clean-up work we need to do in notebook's land (fyi @rebornix). For now, I will disable the version check and optimistically accept all edits from the extension host |
Is there going to be a vscode update then that will allow me to merge this PR or should we call it off for the moment? |
Should be in next/tomorrow's insiders... We are currently winding down for the August endgame, so until mid/end of week we will have new insiders builds and then we'll freeze insiders in preparation for the release |
@jrieken @roblourens
using the api
doesn't update after first usage
The text was updated successfully, but these errors were encountered: