-
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
Allow to store/resume open editors across Continue On transitions #193704
Comments
For editors, we use a
Mementos are just simple wrappers around the storage service that make it a bit easier to work with. The state of editors begins to be created here: vscode/src/vs/workbench/browser/parts/editor/editorPart.ts Lines 1315 to 1319 in b21537c
Serialising the grid translates to a call to vscode/src/vs/workbench/browser/parts/editor/editorGroupView.ts Lines 2013 to 2015 in b21537c
Each editor of a editor group has its own serialiser that is called:
I count around 20 serialisers that each own how the data is serialised. The one for files has this shape: vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorHandler.ts Lines 38 to 45 in b21537c
@joyceerhl in this case where |
Actually, this may be fine, vscode/src/vs/base/common/uri.ts Lines 472 to 474 in b21537c
|
Hi, I wonder whether this will also cover custom URI schemes handled by If that's out of scope here, I can create a separate issue and try to better describe my use-case, maybe even provide a simple demo for testing. |
In my testing, I can see how editors restore but with the original URI and not the transformed one. This means that somehow the URI transformation does not take place. @joyceerhl can you continue to investigate. |
Split out from #183449
The text was updated successfully, but these errors were encountered: