Package | Description |
---|---|
org.netbeans.spi.lsp |
Modifier and Type | Method and Description |
---|---|
CompletionCollector.Builder |
CompletionCollector.Builder.addCommitCharacter(char commitCharacter)
Adds character that when pressed while this completion is active will
accept it first and then type that character.
|
CompletionCollector.Builder |
CompletionCollector.Builder.additionalTextEdits(List<TextEdit> additionalTextEdits)
A list of additional text edits that are applied when selecting this
completion.
|
CompletionCollector.Builder |
CompletionCollector.Builder.additionalTextEdits(java.util.function.Supplier<List<TextEdit>> additionalTextEdits)
A list of additional text edits that are applied when selecting this
completion.
|
CompletionCollector.Builder |
CompletionCollector.Builder.addTag(Completion.Tag tag)
Adds tag for this completion.
|
CompletionCollector.Builder |
CompletionCollector.Builder.detail(String detail)
A human-readable string with additional information about this completion,
like type or symbol information.
|
CompletionCollector.Builder |
CompletionCollector.Builder.detail(java.util.function.Supplier<String> detail)
A human-readable string with additional information about this completion,
like type or symbol information.
|
CompletionCollector.Builder |
CompletionCollector.Builder.documentation(String documentation)
A human-readable string that represents a doc-comment.
|
CompletionCollector.Builder |
CompletionCollector.Builder.documentation(java.util.function.Supplier<String> documentation)
A human-readable string that represents a doc-comment.
|
CompletionCollector.Builder |
CompletionCollector.Builder.filterText(String filterText)
A string that should be used when filtering a set of completions.
|
CompletionCollector.Builder |
CompletionCollector.Builder.insertText(String insertText)
A string that should be inserted into a document when selecting
this completion.
|
CompletionCollector.Builder |
CompletionCollector.Builder.insertTextFormat(Completion.TextFormat insertTextFormat)
The format of the insert text.
|
CompletionCollector.Builder |
CompletionCollector.Builder.kind(Completion.Kind kind)
The kind of this completion.
|
CompletionCollector.Builder |
CompletionCollector.Builder.label(String label)
The label of this completion.
|
static CompletionCollector.Builder |
CompletionCollector.newBuilder(String label)
Creates a builder for
Completion instances. |
CompletionCollector.Builder |
CompletionCollector.Builder.preselect(boolean preselect)
Select this completion when showing.
|
CompletionCollector.Builder |
CompletionCollector.Builder.sortText(String sortText)
A string that should be used when comparing this completion with other
completions.
|
CompletionCollector.Builder |
CompletionCollector.Builder.textEdit(TextEdit textEdit)
An edit which is applied to a document when selecting this completion.
|