@@ -14,14 +14,13 @@ import { isMacintosh } from 'vs/base/common/platform';
1414import { CancellationToken } from 'vs/base/common/cancellation' ;
1515import { KeyCode } from 'vs/base/common/keyCodes' ;
1616import severity from 'vs/base/common/severity' ;
17- import { Context as SuggestContext } from 'vs/editor/contrib/suggest/suggest' ;
1817import { SuggestController } from 'vs/editor/contrib/suggest/suggestController' ;
1918import { ITextModel } from 'vs/editor/common/model' ;
2019import { Position } from 'vs/editor/common/core/position' ;
21- import { registerEditorAction , ServicesAccessor , EditorAction , EditorCommand , registerEditorCommand } from 'vs/editor/browser/editorExtensions' ;
20+ import { registerEditorAction , ServicesAccessor , EditorAction } from 'vs/editor/browser/editorExtensions' ;
2221import { IModelService } from 'vs/editor/common/services/modelService' ;
2322import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection' ;
24- import { IContextKeyService , ContextKeyExpr , IContextKey } from 'vs/platform/contextkey/common/contextkey' ;
23+ import { IContextKeyService , IContextKey } from 'vs/platform/contextkey/common/contextkey' ;
2524import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry' ;
2625import { IInstantiationService , createDecorator } from 'vs/platform/instantiation/common/instantiation' ;
2726import { IStorageService , StorageScope } from 'vs/platform/storage/common/storage' ;
@@ -833,18 +832,6 @@ class ReplCopyAllAction extends EditorAction {
833832registerEditorAction ( AcceptReplInputAction ) ;
834833registerEditorAction ( ReplCopyAllAction ) ;
835834
836- const SuggestCommand = EditorCommand . bindToContribution < SuggestController > ( SuggestController . get ) ;
837- registerEditorCommand ( new SuggestCommand ( {
838- id : 'repl.action.acceptSuggestion' ,
839- precondition : ContextKeyExpr . and ( CONTEXT_IN_DEBUG_REPL , SuggestContext . Visible ) ,
840- handler : x => x . acceptSelectedSuggestion ( ) ,
841- kbOpts : {
842- weight : 50 ,
843- kbExpr : EditorContextKeys . textInputFocus ,
844- primary : KeyCode . RightArrow
845- }
846- } ) ) ;
847-
848835class SelectReplActionItem extends FocusSessionActionItem {
849836 protected getSessions ( ) : ReadonlyArray < IDebugSession > {
850837 return this . debugService . getModel ( ) . getSessions ( true ) . filter ( s => ! sessionsToIgnore . has ( s ) ) ;
0 commit comments