Skip to content

Commit 6e1e1b9

Browse files
committed
jump instead of indent
1 parent f2529aa commit 6e1e1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ export class InlineCompletionsModel extends Disposable {
803803
return true;
804804
}
805805

806-
if (this._inAcceptFlow.read(reader) && this._appearedInsideViewport.read(reader)) {
806+
if (this._inAcceptFlow.read(reader) && this._appearedInsideViewport.read(reader) && !s.inlineCompletion.displayLocation?.jumpToEdit) {
807807
return false;
808808
}
809809

0 commit comments

Comments
 (0)