We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80be02c commit 5ef4e4eCopy full SHA for 5ef4e4e
1 file changed
src/vs/editor/contrib/suggest/suggestModel.ts
@@ -405,6 +405,12 @@ export class SuggestModel implements IDisposable {
405
return;
406
}
407
408
+ if (ctx.leadingWord.startColumn < this._context.leadingWord.startColumn) {
409
+ // happens when the current word gets outdented
410
+ this.cancel();
411
+ return;
412
+ }
413
+
414
if (ctx.column < this._context.column) {
415
// typed -> moved cursor LEFT -> retrigger if still on a word
416
if (ctx.leadingWord.word) {
0 commit comments