diff --git a/src/vs/workbench/contrib/debug/browser/baseDebugView.ts b/src/vs/workbench/contrib/debug/browser/baseDebugView.ts index cc2159aebd0..917921fc5c7 100644 --- a/src/vs/workbench/contrib/debug/browser/baseDebugView.ts +++ b/src/vs/workbench/contrib/debug/browser/baseDebugView.ts @@ -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.$; diff --git a/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts b/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts index fb873a5fc69..eb3dc8780b0 100644 --- a/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts +++ b/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts @@ -42,7 +42,7 @@ import { ILanguageFeaturesService } from 'vs/editor/common/services/languageFeat const $ = dom.$; const IPrivateBreakpointWidgetService = createDecorator('privateBreakpointWidgetService'); -export interface IPrivateBreakpointWidgetService { +interface IPrivateBreakpointWidgetService { readonly _serviceBrand: undefined; close(success: boolean): void; } diff --git a/src/vs/workbench/contrib/debug/browser/variablesView.ts b/src/vs/workbench/contrib/debug/browser/variablesView.ts index 965282e66ce..15ee525c464 100644 --- a/src/vs/workbench/contrib/debug/browser/variablesView.ts +++ b/src/vs/workbench/contrib/debug/browser/variablesView.ts @@ -295,7 +295,7 @@ function isStackFrame(obj: any): obj is IStackFrame { return obj instanceof StackFrame; } -export class VariablesDataSource implements IAsyncDataSource { +class VariablesDataSource implements IAsyncDataSource { hasChildren(element: IStackFrame | null | IExpression | IScope): boolean { if (!element) { diff --git a/src/vs/workbench/contrib/debug/browser/watchExpressionsView.ts b/src/vs/workbench/contrib/debug/browser/watchExpressionsView.ts index 3c1669fdece..702eadc54e1 100644 --- a/src/vs/workbench/contrib/debug/browser/watchExpressionsView.ts +++ b/src/vs/workbench/contrib/debug/browser/watchExpressionsView.ts @@ -263,7 +263,7 @@ class WatchExpressionsDataSource implements IAsyncDataSource('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('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('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(DEBUG_SERVICE_ID); +export const IDebugService = createDecorator('debugService'); export interface IDebugService { readonly _serviceBrand: undefined;