Interface ICompletionRequest
- All Superinterfaces:
IPositionRequest,ISharedSettingsRequest
- All Known Implementing Classes:
ExpressionCompletionRequest
Completion request API.
-
Method Summary
Modifier and TypeMethodDescriptiongetFilterForStartTagName(String tagName) getInsertAttrValue(String value) org.eclipse.lsp4j.InsertTextFormatReturns the proper insert text format according the support of snippet.org.eclipse.lsp4j.RangeReturns the replace range.org.eclipse.lsp4j.RangeReturns the range for replacing a tag name for an existing DOM element.booleanReturns true if tag should be autoclosed with an end tag and false otherwise.booleanReturnstrueif the client support snippet andfalseotherwise.booleanReturns true if the editor supports delayed resolution of additionalTextEdits and false otherwise.booleanReturns true if the editor supports delayed resolution of documentation and false otherwise.Methods inherited from interface org.eclipse.lemminx.services.extensions.IPositionRequest
getComponent, getCurrentAttribute, getCurrentAttributeName, getCurrentTag, getLineIndentInfo, getNode, getOffset, getParentElement, getPosition, getXMLDocumentMethods inherited from interface org.eclipse.lemminx.services.extensions.ISharedSettingsRequest
canSupportMarkupKind, getSharedSettings
-
Method Details
-
getReplaceRange
org.eclipse.lsp4j.Range getReplaceRange()Returns the replace range.- Returns:
- the replace range.
-
getReplaceRangeForTagName
org.eclipse.lsp4j.Range getReplaceRangeForTagName()Returns the range for replacing a tag name for an existing DOM element.- Returns:
- the range for replacing a tag name for an existing DOM element.
-
getXMLGenerator
- Throws:
BadLocationException
-
getFilterForStartTagName
-
getInsertAttrValue
-
isCompletionSnippetsSupported
boolean isCompletionSnippetsSupported()Returnstrueif the client support snippet andfalseotherwise.- Returns:
trueif the client support snippet andfalseotherwise.
-
isAutoCloseTags
boolean isAutoCloseTags()Returns true if tag should be autoclosed with an end tag and false otherwise.- Returns:
- true if tag should be autoclosed with an end tag and false otherwise.
-
isResolveDocumentationSupported
boolean isResolveDocumentationSupported()Returns true if the editor supports delayed resolution of documentation and false otherwise. -
isResolveAdditionalTextEditsSupported
boolean isResolveAdditionalTextEditsSupported()Returns true if the editor supports delayed resolution of additionalTextEdits and false otherwise. -
getInsertTextFormat
org.eclipse.lsp4j.InsertTextFormat getInsertTextFormat()Returns the proper insert text format according the support of snippet.- Returns:
- the proper insert text format according the support of snippet.
-