Skip to content
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 reopen closed webviews if the extension supports it #100979

Merged

Conversation

NotWearingPants
Copy link
Contributor

@NotWearingPants NotWearingPants commented Jun 24, 2020

This PR fixes #97285

It let's you reopen closed webviews with Ctrl+Shift+T, such as markdown previews.

When you close an editor it is "disposed", but the check for whether you can restore a webview editor checked whether the editor is not disposed, which will never be the case.

Note that this does NOT solve #86864, because I'm not sure how to register a reviver for the release notes, but it is a necessary change before fixing that.

@mjbvz mjbvz added this to the July 2020 milestone Jul 1, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Jul 1, 2020

Thanks! The fix looks good but I'm scheduling it for July instead of for the current release. This will give us a month to have the change in insiders and see if it causes any problems

@mjbvz mjbvz merged commit 734b856 into microsoft:master Jul 7, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Jul 7, 2020

Thanks!

gjsjohnmurray pushed a commit to gjsjohnmurray/vscode that referenced this pull request Jul 8, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to reopen closed webviews
2 participants