Remove CustomDocument.viewType

Fixes #93867
For #77131

This property is no longer needed (or very helpful) with the current api design
This commit is contained in:
Matt Bierner
2020-03-31 11:28:41 -07:00
parent 0d351bd55f
commit d41997790c
5 changed files with 12 additions and 22 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export class PreviewManager implements vscode.CustomEditorProvider {
) { }
public async openCustomDocument(uri: vscode.Uri) {
return new vscode.CustomDocument(PreviewManager.viewType, uri);
return new vscode.CustomDocument(uri);
}
public async resolveCustomEditor(