mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
remove shouldShowEmptySuggestionList, fixes #5888
This commit is contained in:
@@ -580,9 +580,6 @@ class SuggestAdapter implements modes.ISuggestSupport {
|
||||
getTriggerCharacters(): string[] {
|
||||
throw new Error('illegal state');
|
||||
}
|
||||
shouldShowEmptySuggestionList(): boolean {
|
||||
throw new Error('illegal state');
|
||||
}
|
||||
shouldAutotriggerSuggest(context: modes.ILineContext, offset: number, triggeredByCharacter: string): boolean {
|
||||
throw new Error('illegal state');
|
||||
}
|
||||
@@ -1027,9 +1024,6 @@ export class MainThreadLanguageFeatures {
|
||||
getTriggerCharacters(): string[] {
|
||||
return triggerCharacters;
|
||||
},
|
||||
shouldShowEmptySuggestionList(): boolean {
|
||||
return true;
|
||||
},
|
||||
shouldAutotriggerSuggest(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user