Skip to content

Commit

Permalink
Remove a few exports
Browse files Browse the repository at this point in the history
  • Loading branch information
weinand committed Nov 1, 2022
1 parent 739175d commit 8f8c5de
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 19 deletions.
7 changes: 0 additions & 7 deletions src/vs/platform/debug/common/extensionHostDebug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ export interface IOpenExtensionWindowResult {
success: boolean;
}

/**
* Like a IProcessEnvironment, but the value "null" deletes an environment variable
*/
export interface INullableProcessEnvironment {
[key: string]: string | null;
}

export interface IExtensionHostDebugService {
readonly _serviceBrand: undefined;

Expand Down
12 changes: 4 additions & 8 deletions src/vs/workbench/contrib/debug/common/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ export interface IDebugAdapterFactory extends ITerminalLauncher {
substituteVariables(folder: IWorkspaceFolder | undefined, config: IConfig): Promise<IConfig>;
}

export interface IDebugAdapterExecutableOptions {
interface IDebugAdapterExecutableOptions {
cwd?: string;
env?: { [key: string]: string };
}
Expand All @@ -748,12 +748,12 @@ export interface IDebugAdapterNamedPipeServer {
readonly path: string;
}

export interface IDebugAdapterInlineImpl extends IDisposable {
interface IDebugAdapterInlineImpl extends IDisposable {
readonly onDidSendMessage: Event<DebugProtocol.Message>;
handleMessage(message: DebugProtocol.Message): void;
}

export interface IDebugAdapterImpl {
interface IDebugAdapterImpl {
readonly type: 'implementation';
readonly implementation: IDebugAdapterInlineImpl;
}
Expand Down Expand Up @@ -821,11 +821,7 @@ export interface IDebugAdapterDescriptorFactory {
createDebugAdapterDescriptor(session: IDebugSession): Promise<IAdapterDescriptor>;
}

export interface IDebugAdapterTrackerFactory {
readonly type: string;
}

export interface ITerminalLauncher {
interface ITerminalLauncher {
runInTerminal(args: DebugProtocol.RunInTerminalRequestArguments, sessionId: string): Promise<number | undefined>;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,23 @@ export interface IConfigurationResolverService {
contributeVariable(variable: string, resolution: () => Promise<string | undefined>): void;
}

export interface PromptStringInputInfo {
interface PromptStringInputInfo {
id: string;
type: 'promptString';
description: string;
default?: string;
password?: boolean;
}

export interface PickStringInputInfo {
interface PickStringInputInfo {
id: string;
type: 'pickString';
description: string;
options: (string | { value: string; label?: string })[];
default?: string;
}

export interface CommandInputInfo {
interface CommandInputInfo {
id: string;
type: 'command';
command: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { IWorkspaceFolder } from 'vs/platform/workspace/common/workspace';
import { ILabelService } from 'vs/platform/label/common/label';
import { replaceAsync } from 'vs/base/common/strings';

export interface IVariableResolveContext {
interface IVariableResolveContext {
getFolderUri(folderName: string): uri | undefined;
getWorkspaceFolderCount(): number;
getConfigurationValue(folderUri: uri | undefined, section: string): string | undefined;
Expand Down

0 comments on commit 8f8c5de

Please sign in to comment.