Clean up some unused exports (#165107)

For #164937
This commit is contained in:
Rob Lourens
2022-11-01 09:54:56 -07:00
committed by GitHub
parent 739175dc74
commit fe689beb75
5 changed files with 6 additions and 8 deletions
@@ -23,8 +23,7 @@ import { IDebugService, IExpression, IExpressionContainer } from 'vs/workbench/c
import { Expression, ExpressionContainer, Variable } from 'vs/workbench/contrib/debug/common/debugModel';
import { ReplEvaluationResult } from 'vs/workbench/contrib/debug/common/replModel';
export const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
export const twistiePixels = 20;
const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
const booleanRegex = /^(true|false)$/i;
const stringRegex = /^(['"]).*\1$/;
const $ = dom.$;
@@ -42,7 +42,7 @@ import { ILanguageFeaturesService } from 'vs/editor/common/services/languageFeat
const $ = dom.$;
const IPrivateBreakpointWidgetService = createDecorator<IPrivateBreakpointWidgetService>('privateBreakpointWidgetService');
export interface IPrivateBreakpointWidgetService {
interface IPrivateBreakpointWidgetService {
readonly _serviceBrand: undefined;
close(success: boolean): void;
}
@@ -295,7 +295,7 @@ function isStackFrame(obj: any): obj is IStackFrame {
return obj instanceof StackFrame;
}
export class VariablesDataSource implements IAsyncDataSource<IStackFrame | null, IExpression | IScope> {
class VariablesDataSource implements IAsyncDataSource<IStackFrame | null, IExpression | IScope> {
hasChildren(element: IStackFrame | null | IExpression | IScope): boolean {
if (!element) {
@@ -263,7 +263,7 @@ class WatchExpressionsDataSource implements IAsyncDataSource<IDebugService, IExp
}
export class WatchExpressionsRenderer extends AbstractExpressionsRenderer {
class WatchExpressionsRenderer extends AbstractExpressionsRenderer {
static readonly ID = 'watchexpression';
@@ -38,7 +38,6 @@ export const BREAKPOINTS_VIEW_ID = 'workbench.debug.breakPointsView';
export const DISASSEMBLY_VIEW_ID = 'workbench.debug.disassemblyView';
export const DEBUG_PANEL_ID = 'workbench.panel.repl';
export const REPL_VIEW_ID = 'workbench.panel.repl.view';
export const DEBUG_SERVICE_ID = 'debugService';
export const CONTEXT_DEBUG_TYPE = new RawContextKey<string>('debugType', undefined, { type: 'string', description: nls.localize('debugType', "Debug type of the active debug session. For example 'python'.") });
export const CONTEXT_DEBUG_CONFIGURATION_TYPE = new RawContextKey<string>('debugConfigurationType', undefined, { type: 'string', description: nls.localize('debugConfigurationType', "Debug type of the selected launch configuration. For example 'python'.") });
export const CONTEXT_DEBUG_STATE = new RawContextKey<string>('debugState', 'inactive', { type: 'string', description: nls.localize('debugState', "State that the focused debug session is in. One of the following: 'inactive', 'initializing', 'stopped' or 'running'.") });
@@ -663,7 +662,7 @@ export interface IGlobalConfig {
configurations: IConfig[];
}
export interface IEnvConfig {
interface IEnvConfig {
internalConsoleOptions?: 'neverOpen' | 'openOnSessionStart' | 'openOnFirstSessionStart';
preRestartTask?: string | ITaskIdentifier;
postRestartTask?: string | ITaskIdentifier;
@@ -937,7 +936,7 @@ export interface ILaunch {
// Debug service interfaces
export const IDebugService = createDecorator<IDebugService>(DEBUG_SERVICE_ID);
export const IDebugService = createDecorator<IDebugService>('debugService');
export interface IDebugService {
readonly _serviceBrand: undefined;