Class CompletionClientCapabilities.CompletionItemCapabilities
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.CompletionClientCapabilities.CompletionItemCapabilities
- Enclosing class:
CompletionClientCapabilities
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbooleanClient supports commit characters on a completion item.Client supports the deprecated property on a completion item.Client supports the follow content formats for the documentation property.Client supports the preselect property on a completion item.Client supports snippets as insert text.Client supports the tag property on a completion item.inthashCode()setCommitCharactersSupport(Boolean commitCharactersSupport) setDeprecatedSupport(Boolean deprecatedSupport) setDocumentationFormat(List<MarkupKind> documentationFormat) setPreselectSupport(Boolean preselectSupport) setSnippetSupport(Boolean snippetSupport) setTagSupport(CompletionClientCapabilities.CompletionItemCapabilities.TagSupportCapabilities tagSupport)
-
Method Details
-
getSnippetSupport
Client supports snippets as insert text. 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. -
setSnippetSupport
public CompletionClientCapabilities.CompletionItemCapabilities setSnippetSupport(Boolean snippetSupport) -
getCommitCharactersSupport
Client supports commit characters on a completion item. -
setCommitCharactersSupport
public CompletionClientCapabilities.CompletionItemCapabilities setCommitCharactersSupport(Boolean commitCharactersSupport) -
getDocumentationFormat
Client supports the follow content formats for the documentation property. The order describes the preferred format of the client. -
setDocumentationFormat
public CompletionClientCapabilities.CompletionItemCapabilities setDocumentationFormat(List<MarkupKind> documentationFormat) -
getDeprecatedSupport
Client supports the deprecated property on a completion item. -
setDeprecatedSupport
public CompletionClientCapabilities.CompletionItemCapabilities setDeprecatedSupport(Boolean deprecatedSupport) -
getPreselectSupport
Client supports the preselect property on a completion item. -
setPreselectSupport
public CompletionClientCapabilities.CompletionItemCapabilities setPreselectSupport(Boolean preselectSupport) -
getTagSupport
public CompletionClientCapabilities.CompletionItemCapabilities.TagSupportCapabilities getTagSupport()Client supports the tag property on a completion item. Clients supporting tags have to handle unknown tags gracefully. Clients especially need to preserve unknown tags when sending a completion item back to the server in a resolve call.- Since:
- 3.15.0
-
setTagSupport
public CompletionClientCapabilities.CompletionItemCapabilities setTagSupport(CompletionClientCapabilities.CompletionItemCapabilities.TagSupportCapabilities tagSupport) -
equals
-
hashCode
public int hashCode()
-