Skip to content

Commit 739175d

Browse files
authored
More unused exports (#165167)
For #164939
1 parent 9805c4b commit 739175d

File tree

6 files changed

+3
-17
lines changed

6 files changed

+3
-17
lines changed

src/vs/workbench/api/node/extHostDebugService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class ExtHostDebugService extends ExtHostDebugServiceBase {
156156

157157
let externalTerminalService: IExternalTerminalService | undefined = undefined;
158158

159-
export function runInExternalTerminal(args: DebugProtocol.RunInTerminalRequestArguments, configProvider: ExtHostConfigProvider): Promise<number | undefined> {
159+
function runInExternalTerminal(args: DebugProtocol.RunInTerminalRequestArguments, configProvider: ExtHostConfigProvider): Promise<number | undefined> {
160160
if (!externalTerminalService) {
161161
if (platform.isWindows) {
162162
externalTerminalService = new WindowsExternalTerminalService();

src/vs/workbench/api/test/node/extHostSearch.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MockMainThreadSearch implements MainThreadSearchShape {
6363

6464
let mockPFS: Partial<typeof pfs>;
6565

66-
export function extensionResultIsMatch(data: vscode.TextSearchResult): data is vscode.TextSearchMatch {
66+
function extensionResultIsMatch(data: vscode.TextSearchResult): data is vscode.TextSearchMatch {
6767
return !!(<vscode.TextSearchMatch>data).preview;
6868
}
6969

src/vs/workbench/contrib/debug/common/debug.ts

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export const CONTEXT_CALLSTACK_SESSION_HAS_ONE_THREAD = new RawContextKey<boolea
6161
export const CONTEXT_WATCH_ITEM_TYPE = new RawContextKey<string>('watchItemType', undefined, { type: 'string', description: nls.localize('watchItemType', "Represents the item type of the focused element in the WATCH view. For example: 'expression', 'variable'") });
6262
export const CONTEXT_CAN_VIEW_MEMORY = new RawContextKey<boolean>('canViewMemory', undefined, { type: 'boolean', description: nls.localize('canViewMemory', "Indicates whether the item in the view has an associated memory refrence.") });
6363
export const CONTEXT_BREAKPOINT_ITEM_TYPE = new RawContextKey<string>('breakpointItemType', undefined, { type: 'string', description: nls.localize('breakpointItemType', "Represents the item type of the focused element in the BREAKPOINTS view. For example: 'breakpoint', 'exceptionBreakppint', 'functionBreakpoint', 'dataBreakpoint'") });
64-
export const CONTEXT_BREAKPOINT_ACCESS_TYPE = new RawContextKey<string>('breakpointAccessType', undefined, { type: 'string', description: nls.localize('breakpointAccessType', "Represents the access type of the focused data breakpoint in the BREAKPOINTS view. For example: 'read', 'readWrite', 'write'") });
6564
export const CONTEXT_BREAKPOINT_SUPPORTS_CONDITION = new RawContextKey<boolean>('breakpointSupportsCondition', false, { type: 'boolean', description: nls.localize('breakpointSupportsCondition', "True when the focused breakpoint supports conditions.") });
6665
export const CONTEXT_LOADED_SCRIPTS_SUPPORTED = new RawContextKey<boolean>('loadedScriptsSupported', false, { type: 'boolean', description: nls.localize('loadedScriptsSupported', "True when the focused sessions supports the LOADED SCRIPTS view") });
6766
export const CONTEXT_LOADED_SCRIPTS_ITEM_TYPE = new RawContextKey<string>('loadedScriptsItemType', undefined, { type: 'string', description: nls.localize('loadedScriptsItemType', "Represents the item type of the focused element in the LOADED SCRIPTS view.") });

src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class NotebookFindContrib extends Disposable implements INotebookEditorCo
7070
}
7171
}
7272

73-
export class NotebookFindWidget extends SimpleFindReplaceWidget implements INotebookEditorContribution {
73+
class NotebookFindWidget extends SimpleFindReplaceWidget implements INotebookEditorContribution {
7474
protected _findWidgetFocused: IContextKey<boolean>;
7575
private _showTimeout: number | null = null;
7676
private _hideTimeout: number | null = null;

src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.ts

-8
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ export interface ICellExecutionComplete {
2525
lastRunSuccess?: boolean;
2626
}
2727

28-
export interface ICellExecutionEntry {
29-
notebook: URI;
30-
cellHandle: number;
31-
state: NotebookCellExecutionState;
32-
didPause: boolean;
33-
isPaused: boolean;
34-
}
35-
3628
export interface ICellExecutionStateChangedEvent {
3729
notebook: URI;
3830
cellHandle: number;

src/vs/workbench/contrib/webview/browser/webview.ts

-5
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ export interface WebviewExtensionDescription {
163163
readonly id: ExtensionIdentifier;
164164
}
165165

166-
export interface IDataLinkClickEvent {
167-
readonly dataURL: string;
168-
readonly downloadName?: string;
169-
}
170-
171166
export interface WebviewMessageReceivedEvent {
172167
readonly message: any;
173168
readonly transfer?: readonly ArrayBuffer[];

0 commit comments

Comments
 (0)