Add a description field to decorations to be able to find leaks

This commit is contained in:
Alex Dima
2021-05-27 15:39:55 +02:00
parent a56fe2b397
commit f523f65f39
64 changed files with 171 additions and 78 deletions

View File

@@ -270,7 +270,7 @@ export interface MainThreadBulkEditsShape extends IDisposable {
export interface MainThreadTextEditorsShape extends IDisposable {
$tryShowTextDocument(resource: UriComponents, options: ITextDocumentShowOptions): Promise<string | undefined>;
$registerTextEditorDecorationType(key: string, options: editorCommon.IDecorationRenderOptions): void;
$registerTextEditorDecorationType(extensionId: ExtensionIdentifier, key: string, options: editorCommon.IDecorationRenderOptions): void;
$removeTextEditorDecorationType(key: string): void;
$tryShowEditor(id: string, position: EditorGroupColumn): Promise<void>;
$tryHideEditor(id: string): Promise<void>;