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