public interface ICompletionRequest extends IPositionRequest, ISharedSettingsRequest
| Modifier and Type | Method and Description |
|---|---|
String |
getFilterForStartTagName(String tagName) |
String |
getInsertAttrValue(String value) |
org.eclipse.lsp4j.InsertTextFormat |
getInsertTextFormat()
Returns the proper insert text format according the support of snippet.
|
org.eclipse.lsp4j.Range |
getReplaceRange()
Returns the replace range.
|
org.eclipse.lsp4j.Range |
getReplaceRangeForTagName()
Returns the range for replacing a tag name for an existing DOM element.
|
XMLGenerator |
getXMLGenerator() |
boolean |
isAutoCloseTags()
Returns true if tag should be autoclosed with an end tag and false otherwise.
|
boolean |
isCompletionSnippetsSupported()
Returns
true if the client support snippet and
false otherwise. |
boolean |
isResolveAdditionalTextEditsSupported()
Returns true if the editor supports delayed resolution of additionalTextEdits
and
false otherwise.
|
boolean |
isResolveDocumentationSupported()
Returns true if the editor supports delayed resolution of documentation and
false otherwise.
|
getComponent, getCurrentAttribute, getCurrentAttributeName, getCurrentTag, getLineIndentInfo, getNode, getOffset, getParentElement, getPosition, getXMLDocumentcanSupportMarkupKind, getSharedSettingsorg.eclipse.lsp4j.Range getReplaceRange()
org.eclipse.lsp4j.Range getReplaceRangeForTagName()
XMLGenerator getXMLGenerator() throws BadLocationException
BadLocationExceptionboolean isCompletionSnippetsSupported()
true if the client support snippet and
false otherwise.true if the client support snippet and
false otherwise.boolean isAutoCloseTags()
boolean isResolveDocumentationSupported()
boolean isResolveAdditionalTextEditsSupported()
org.eclipse.lsp4j.InsertTextFormat getInsertTextFormat()
Copyright © 2022. All rights reserved.