mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user