CompletionList
in package
Represents a collection of completion items to be presented in the editor.
Table of Contents
Properties
- $isIncomplete : bool
- This list is not complete. Further typing should result in recomputing this list.
- $items : array<string|int, CompletionItem>
- The completion items.
Methods
- __construct() : mixed
Properties
$isIncomplete
This list is not complete. Further typing should result in recomputing this list.
public
bool
$isIncomplete
Recomputed lists have all their items replaced (not appended) in the incomplete completion sessions.
$items
The completion items.
public
array<string|int, CompletionItem>
$items
Methods
__construct()
public
__construct([array<string|int, CompletionItem> $items = [] ][, bool $isIncomplete = false ]) : mixed
Parameters
- $items : array<string|int, CompletionItem> = []
-
The completion items.
- $isIncomplete : bool = false
-
This list it not complete. Further typing should result in recomputing this list.