A structured label for a {@link CompletionItem completion item}.
A structured label for a {@link CompletionItem completion item}.
(description completion-item-label)
An optional string which is rendered less prominently after {@link CompletionItemLabel.detail }. Should be used for fully qualified names or file path.
Returns: string | undefined
An optional string which is rendered less prominently after {@link CompletionItemLabel.detail }. Should be used for fully qualified names or file path. **Returns:** `string | undefined`
(detail completion-item-label)
An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label}, without any spacing. Should be used for function signatures or type annotations.
Returns: string | undefined
An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label}, without any spacing. Should be used for function signatures or type annotations. **Returns:** `string | undefined`
(label completion-item-label)
The label of this completion item.
By default this is also the text that is inserted when this completion is selected.
Returns: string
The label of this completion item. By default this is also the text that is inserted when this completion is selected. **Returns:** `string`
(set-description! completion-item-label value)
An optional string which is rendered less prominently after {@link CompletionItemLabel.detail }. Should be used for fully qualified names or file path.
An optional string which is rendered less prominently after {@link CompletionItemLabel.detail }. Should be used for fully qualified names or file path.
(set-detail! completion-item-label value)
An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label}, without any spacing. Should be used for function signatures or type annotations.
An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label}, without any spacing. Should be used for function signatures or type annotations.
(set-label! completion-item-label value)
The label of this completion item.
By default this is also the text that is inserted when this completion is selected.
The label of this completion item. By default this is also the text that is inserted when this completion is selected.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close