disable completions when multi-select is on
This commit is contained in:
parent
5d8c45d607
commit
f097b658c5
1 changed files with 6 additions and 0 deletions
|
|
@ -105,6 +105,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 (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue