From 45e4fda6e889f3b4d25751dc00f08357d7ffc8dc Mon Sep 17 00:00:00 2001 From: Megan Rogge Date: Wed, 13 Nov 2024 11:03:14 -0600 Subject: [PATCH] clean up --- .../workbench/api/common/extHost.api.impl.ts | 2 +- src/vs/workbench/api/common/extHostTypes.ts | 31 +------------------ 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/src/vs/workbench/api/common/extHost.api.impl.ts b/src/vs/workbench/api/common/extHost.api.impl.ts index 0c0dacca6c8..cd7ad1dd50d 100644 --- a/src/vs/workbench/api/common/extHost.api.impl.ts +++ b/src/vs/workbench/api/common/extHost.api.impl.ts @@ -1661,7 +1661,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I TerminalProfile: extHostTypes.TerminalProfile, TerminalExitReason: extHostTypes.TerminalExitReason, TerminalShellExecutionCommandLineConfidence: extHostTypes.TerminalShellExecutionCommandLineConfidence, - SimpleTerminalCompletion: extHostTypes.TerminalCompletionItem, + TerminalCompletionItem: extHostTypes.TerminalCompletionItem, TextDocumentSaveReason: extHostTypes.TextDocumentSaveReason, TextEdit: extHostTypes.TextEdit, SnippetTextEdit: extHostTypes.SnippetTextEdit, diff --git a/src/vs/workbench/api/common/extHostTypes.ts b/src/vs/workbench/api/common/extHostTypes.ts index 237d7ff9b11..d347ae5ebb4 100644 --- a/src/vs/workbench/api/common/extHostTypes.ts +++ b/src/vs/workbench/api/common/extHostTypes.ts @@ -2108,36 +2108,7 @@ export class TerminalProfile implements vscode.TerminalProfile { } } -export interface SimpleTerminalCompletion { - /** - * The completion's label which appears on the left beside the icon. - */ - label: string; - /** - * The completion's icon to show on the left of the suggest widget. - */ - icon?: ThemeIcon; - /** - * The completion's detail which appears on the right of the list. - */ - detail?: string; - /** - * Whether the completion is a file. Files with the same score will be sorted against each other - * first by extension length and then certain extensions will get a boost based on the OS. - */ - isFile?: boolean; - /** - * Whether the completion is a directory. - */ - isDirectory?: boolean; - /** - * Whether the completion is a keyword. - */ - isKeyword?: boolean; -} - - -export class TerminalCompletionItem { +export class TerminalCompletionItem implements vscode.TerminalCompletionItem { label: string; icon?: ThemeIcon | undefined; detail?: string | undefined;