Skip to content

Allow to reopen closed webviews if the extension supports it#100979

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
SnirBroshi:feature/reopen-markdown-previews
Jul 7, 2020
Merged

Allow to reopen closed webviews if the extension supports it#100979
mjbvz merged 1 commit intomicrosoft:masterfrom
SnirBroshi:feature/reopen-markdown-previews

Conversation

@SnirBroshi
Copy link
Contributor

@SnirBroshi SnirBroshi 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!

@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