suggestions property

List<CompletionSuggestion> suggestions
getter/setter pair

The completion suggestions being reported. This list is filtered by the already existing prefix, and sorted first by relevance, and (if the same) by the suggestion text. The list will have at most maxResults items. If the user types a new keystroke, the client is expected to either do local filtering (when the returned list was complete), or ask the server again (if isIncomplete was true).

This list contains suggestions from both imported, and not yet imported libraries. Items from not yet imported libraries will have isNotImported set to true.

Implementation

List<CompletionSuggestion> suggestions;