提交 55e9eb2b 编写于 作者: I isidor

debug: ReplInputEditor -> SimpleDebugEditor

上级 9077dd97
......@@ -30,7 +30,7 @@ import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
import { IInstantiationService, createDecorator } from 'vs/platform/instantiation/common/instantiation';
import { IStorageService, StorageScope } from 'vs/platform/storage/common/storage';
import { ReplExpressionsRenderer, ReplExpressionsController, ReplExpressionsDataSource, ReplExpressionsActionProvider, ReplExpressionsAccessibilityProvider } from 'vs/workbench/parts/debug/electron-browser/replViewer';
import { ReplInputEditor } from 'vs/workbench/parts/debug/electron-browser/replEditor';
import { SimpleDebugEditor } from 'vs/workbench/parts/debug/electron-browser/simpleDebugEditor';
import * as debug from 'vs/workbench/parts/debug/common/debug';
import { ClearReplAction } from 'vs/workbench/parts/debug/browser/debugActions';
import { ReplHistory } from 'vs/workbench/parts/debug/common/replHistory';
......@@ -77,7 +77,7 @@ export class Repl extends Panel implements IPrivateReplService {
private renderer: ReplExpressionsRenderer;
private container: HTMLElement;
private treeContainer: HTMLElement;
private replInput: ReplInputEditor;
private replInput: SimpleDebugEditor;
private replInputContainer: HTMLElement;
private refreshTimeoutHandle: number;
private actions: IAction[];
......@@ -176,7 +176,7 @@ export class Repl extends Panel implements IPrivateReplService {
const scopedInstantiationService = this.instantiationService.createChild(new ServiceCollection(
[IContextKeyService, scopedContextKeyService], [IPrivateReplService, this]));
this.replInput = scopedInstantiationService.createInstance(ReplInputEditor, this.replInputContainer, this.getReplInputOptions());
this.replInput = scopedInstantiationService.createInstance(SimpleDebugEditor, this.replInputContainer, this.getReplInputOptions());
modes.SuggestRegistry.register({ scheme: debug.DEBUG_SCHEME, hasAccessToAllModels: true }, {
triggerCharacters: ['.'],
......
......@@ -20,7 +20,7 @@ import { SnippetController2 } from 'vs/editor/contrib/snippet/snippetController2
import { TabCompletionController } from 'vs/workbench/parts/snippets/electron-browser/tabCompletion';
import { IThemeService } from 'vs/platform/theme/common/themeService';
export class ReplInputEditor extends CodeEditorWidget {
export class SimpleDebugEditor extends CodeEditorWidget {
constructor(
domElement: HTMLElement,
options: IEditorOptions,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册