public class CompletionItemCapabilities
extends java.lang.Object
CompletionItem specific capabilities.| Constructor and Description |
|---|
CompletionItemCapabilities() |
CompletionItemCapabilities(java.lang.Boolean snippetSupport) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCommitCharactersSupport()
Client supports commit characters on a completion item.
|
java.lang.Boolean |
getDeprecatedSupport()
Client supports the deprecated property on a completion item.
|
java.util.List<java.lang.String> |
getDocumentationFormat()
Client supports the following content formats for the documentation
property.
|
java.lang.Boolean |
getInsertReplaceSupport()
Client support insert replace edit to control different behavior if a
completion item is inserted in the text or should replace text.
|
CompletionItemInsertTextModeSupportCapabilities |
getInsertTextModeSupport()
The client supports the
CompletionItem.insertTextMode property on
a completion item to override the whitespace handling mode
as defined by the client. |
java.lang.Boolean |
getLabelDetailsSupport()
The client has support for completion item label details (see also
CompletionItemLabelDetails). |
java.lang.Boolean |
getPreselectSupport()
Client supports the preselect property on a completion item.
|
CompletionItemResolveSupportCapabilities |
getResolveSupport()
Indicates which properties a client can resolve lazily on a completion
item.
|
java.lang.Boolean |
getSnippetSupport()
Client supports snippets as insert text.
|
CompletionItemTagSupportCapabilities |
getTagSupport()
Client supports the tag property on a completion item.
|
int |
hashCode() |
void |
setCommitCharactersSupport(java.lang.Boolean commitCharactersSupport)
Client supports commit characters on a completion item.
|
void |
setDeprecatedSupport(java.lang.Boolean deprecatedSupport)
Client supports the deprecated property on a completion item.
|
void |
setDocumentationFormat(java.util.List<java.lang.String> documentationFormat)
Client supports the following content formats for the documentation
property.
|
void |
setInsertReplaceSupport(java.lang.Boolean insertReplaceSupport)
Client support insert replace edit to control different behavior if a
completion item is inserted in the text or should replace text.
|
void |
setInsertTextModeSupport(CompletionItemInsertTextModeSupportCapabilities insertTextModeSupport)
The client supports the
CompletionItem.insertTextMode property on
a completion item to override the whitespace handling mode
as defined by the client. |
void |
setLabelDetailsSupport(java.lang.Boolean labelDetailsSupport)
The client has support for completion item label details (see also
CompletionItemLabelDetails). |
void |
setPreselectSupport(java.lang.Boolean preselectSupport)
Client supports the preselect property on a completion item.
|
void |
setResolveSupport(CompletionItemResolveSupportCapabilities resolveSupport)
Indicates which properties a client can resolve lazily on a completion
item.
|
void |
setSnippetSupport(java.lang.Boolean snippetSupport)
Client supports snippets as insert text.
|
void |
setTagSupport(CompletionItemTagSupportCapabilities tagSupport)
Client supports the tag property on a completion item.
|
java.lang.String |
toString() |
public CompletionItemCapabilities()
public CompletionItemCapabilities(java.lang.Boolean snippetSupport)
@Pure public java.lang.Boolean getSnippetSupport()
A snippet can define tab stops and placeholders with `$1`, `$2` and `${3:foo}`. `$0` defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.
public void setSnippetSupport(java.lang.Boolean snippetSupport)
A snippet can define tab stops and placeholders with `$1`, `$2` and `${3:foo}`. `$0` defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.
@Pure public java.lang.Boolean getCommitCharactersSupport()
Since 3.2.0
public void setCommitCharactersSupport(java.lang.Boolean commitCharactersSupport)
Since 3.2.0
@Pure public java.util.List<java.lang.String> getDocumentationFormat()
See MarkupKind for allowed values.
Since 3.3.0
public void setDocumentationFormat(java.util.List<java.lang.String> documentationFormat)
See MarkupKind for allowed values.
Since 3.3.0
@Pure public java.lang.Boolean getDeprecatedSupport()
Since 3.8.0
public void setDeprecatedSupport(java.lang.Boolean deprecatedSupport)
Since 3.8.0
@Pure public java.lang.Boolean getPreselectSupport()
Since 3.9.0
public void setPreselectSupport(java.lang.Boolean preselectSupport)
Since 3.9.0
@Pure public CompletionItemTagSupportCapabilities getTagSupport()
Since 3.15.0
public void setTagSupport(CompletionItemTagSupportCapabilities tagSupport)
Since 3.15.0
@Pure public java.lang.Boolean getInsertReplaceSupport()
Since 3.16.0
public void setInsertReplaceSupport(java.lang.Boolean insertReplaceSupport)
Since 3.16.0
@Pure public CompletionItemResolveSupportCapabilities getResolveSupport()
CompletionItem.documentation
and CompletionItem.detail could be resolved lazily.
Since 3.16.0
public void setResolveSupport(CompletionItemResolveSupportCapabilities resolveSupport)
CompletionItem.documentation
and CompletionItem.detail could be resolved lazily.
Since 3.16.0
@Pure public CompletionItemInsertTextModeSupportCapabilities getInsertTextModeSupport()
CompletionItem.insertTextMode property on
a completion item to override the whitespace handling mode
as defined by the client.
Since 3.16.0
public void setInsertTextModeSupport(CompletionItemInsertTextModeSupportCapabilities insertTextModeSupport)
CompletionItem.insertTextMode property on
a completion item to override the whitespace handling mode
as defined by the client.
Since 3.16.0
@Pure public java.lang.Boolean getLabelDetailsSupport()
CompletionItemLabelDetails).
Since 3.17.0
public void setLabelDetailsSupport(java.lang.Boolean labelDetailsSupport)
CompletionItemLabelDetails).
Since 3.17.0
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object