towards strict null and completion model, #63454

This commit is contained in:
Johannes Rieken
2018-12-11 16:59:54 +01:00
parent 45ba9c89df
commit 48a452dcee
5 changed files with 45 additions and 85 deletions

View File

@@ -688,11 +688,7 @@ class SuggestAdapter {
insertTextRules: item.keepWhitespace ? modes.CompletionItemInsertTextRule.KeepWhitespace : 0,
additionalTextEdits: item.additionalTextEdits && item.additionalTextEdits.map(typeConvert.TextEdit.from),
command: this._commands.toInternal(item.command),
commitCharacters: item.commitCharacters,
// help with perf
_labelLow: item.label.toLowerCase(),
_filterTextLow: item.filterText && item.filterText.toLowerCase(),
_sortTextLow: item.sortText && item.sortText.toLowerCase()
commitCharacters: item.commitCharacters
};
// 'insertText'-logic