Class DOMElementCompletionItem
java.lang.Object
org.eclipse.lsp4j.CompletionItem
org.eclipse.lemminx.services.extensions.completion.AbstractElementCompletionItem<DOMElement,Void>
org.eclipse.lemminx.services.extensions.completion.DOMElementCompletionItem
Element completion item created from an existing element.
-
Field Summary
Fields inherited from class org.eclipse.lemminx.services.extensions.completion.AbstractElementCompletionItem
UPDATE_END_TAG_NAME_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.lsp4j.MarkupContentReturns the completion item documentation and null otherwise.protected StringgenerateFullElementContent(boolean generateEndTag) Returns the full element content (ex :). protected StringReturns the resolver participant id.Methods inherited from class org.eclipse.lemminx.services.extensions.completion.AbstractElementCompletionItem
addResolveData, getGenerator, getRequest, getSourceElement, getTagName, hasContentAfterTagName, isElementClosed, updateEndTagNameMethods inherited from class org.eclipse.lsp4j.CompletionItem
equals, getAdditionalTextEdits, getCommand, getCommitCharacters, getData, getDeprecated, getDetail, getDocumentation, getFilterText, getInsertText, getInsertTextFormat, getInsertTextMode, getKind, getLabel, getLabelDetails, getPreselect, getSortText, getTags, getTextEdit, getTextEditText, hashCode, setAdditionalTextEdits, setCommand, setCommitCharacters, setData, setDeprecated, setDetail, setDocumentation, setDocumentation, setDocumentation, setFilterText, setInsertText, setInsertTextFormat, setInsertTextMode, setKind, setLabel, setLabelDetails, setPreselect, setSortText, setTags, setTextEdit, setTextEditText, toString
-
Constructor Details
-
DOMElementCompletionItem
-
-
Method Details
-
generateFullElementContent
Description copied from class:AbstractElementCompletionItemReturns the full element content (ex :). - Specified by:
generateFullElementContentin classAbstractElementCompletionItem<DOMElement,Void> - Parameters:
generateEndTag- true if the element end tag must be generated and false otherwise.- Returns:
- the full element content (ex :
).
-
generateDocumentation
protected org.eclipse.lsp4j.MarkupContent generateDocumentation()Description copied from class:AbstractElementCompletionItemReturns the completion item documentation and null otherwise.- Specified by:
generateDocumentationin classAbstractElementCompletionItem<DOMElement,Void> - Returns:
- the completion item documentation and null otherwise.
-
getResolverParticipantId
Description copied from class:AbstractElementCompletionItemReturns the resolver participant id.- Overrides:
getResolverParticipantIdin classAbstractElementCompletionItem<DOMElement,Void> - Returns:
- the resolver participant id.
-