diff --git a/extensions/vscode/src/autocomplete/completionProvider.ts b/extensions/vscode/src/autocomplete/completionProvider.ts index aa3880952..2a2f41a88 100644 --- a/extensions/vscode/src/autocomplete/completionProvider.ts +++ b/extensions/vscode/src/autocomplete/completionProvider.ts @@ -113,6 +113,12 @@ export class ContinueCompletionProvider return null; } + // Don't autocomplete with multi-cursor + const editor = vscode.window.activeTextEditor; + if (editor && editor.selections.length > 1) { + return null; + } + // If the text at the range isn't a prefix of the intellisense text, // no completion will be displayed, regardless of what we return if (