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() |
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. |
getComponent, getCurrentAttributeName, getCurrentTag, getLineIndentInfo, getNode, getOffset, getParentElement, getPosition, getXMLDocument
canSupportMarkupKind, getSharedSettings
org.eclipse.lsp4j.Range getReplaceRange()
XMLGenerator getXMLGenerator() throws BadLocationException
BadLocationException
boolean isCompletionSnippetsSupported()
true
if the client support snippet and
false
otherwise.true
if the client support snippet and
false
otherwise.boolean isAutoCloseTags()
org.eclipse.lsp4j.InsertTextFormat getInsertTextFormat()
Copyright © 2020. All rights reserved.