Some predefined types for the CompletionItem. Please note that not all clients have specific icons for all of them.

Variables

@:value(cast "class")@:enum@:implinlineread onlyClass:CompletionItemType = "class"

@:value(cast "color")@:enum@:implinlineread onlyColor:CompletionItemType = "color"

@:value(cast "constructor")@:enum@:implinlineread onlyConstructor:CompletionItemType = "constructor"

@:value(cast "customcolor")@:enum@:implinlineread onlyCustomColor:CompletionItemType = "customcolor"

@:value(cast "enum")@:enum@:implinlineread onlyEnum:CompletionItemType = "enum"

@:value(cast "field")@:enum@:implinlineread onlyField:CompletionItemType = "field"

@:value(cast "file")@:enum@:implinlineread onlyFile:CompletionItemType = "file"

@:value(cast "function")@:enum@:implinlineread onlyFunction:CompletionItemType = "function"

@:value(cast "interface")@:enum@:implinlineread onlyInterface:CompletionItemType = "interface"

@:value(cast "keyword")@:enum@:implinlineread onlyKeyword:CompletionItemType = "keyword"

@:value(cast "method")@:enum@:implinlineread onlyMethod:CompletionItemType = "method"

@:value(cast "module")@:enum@:implinlineread onlyModule:CompletionItemType = "module"

@:value(cast "property")@:enum@:implinlineread onlyProperty:CompletionItemType = "property"

@:value(cast "reference")@:enum@:implinlineread onlyReference:CompletionItemType = "reference"

@:value(cast "snippet")@:enum@:implinlineread onlySnippet:CompletionItemType = "snippet"

@:value(cast "text")@:enum@:implinlineread onlyText:CompletionItemType = "text"

@:value(cast "unit")@:enum@:implinlineread onlyUnit:CompletionItemType = "unit"

@:value(cast "value")@:enum@:implinlineread onlyValue:CompletionItemType = "value"

@:value(cast "variable")@:enum@:implinlineread onlyVariable:CompletionItemType = "variable"