disable completions when multi-select is on

This commit is contained in:
Nate 2024-12-13 08:53:56 -08:00
parent f5cc6e77eb
commit b84fdb95f8

View file

@ -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 (