-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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
Notebook opens as text/plain after reload + click #99369
Comments
I can reproduce this issue with Image Editor too. The root cause is when we click the file from file explorer after reloading the workspace, the |
Actually I was wrong, we registered
and only when the group view listeners are registered, editor overrides will be called vscode/src/vs/workbench/services/editor/browser/editorService.ts Lines 164 to 166 in f17030d
I'm wondering if we can register those event listeners a bit earlier, for example, register after the groups are created from |
@rebornix yes looks like the overrides need to register early, but the problem is that the groups only restore as part of the startup, so you cannot register listeners without knowing which groups are there. I think again, this way of overrides is full of issues and #100281 discusses an alternative where you register an override statically that will kick in very early in the |
Moving this out of June and the polish should happen with #100281. Discussions and proposals will continue there. |
I believe this has been fixed by @lramos15's recent work. Assigning to May for verification |
🐛 Notebook opens as
text/plain
.The text was updated successfully, but these errors were encountered: