Class AttributeNameCompletionResolver
java.lang.Object
org.eclipse.lemminx.services.extensions.completion.AbstractCompletionResolver
org.eclipse.lemminx.services.extensions.completion.AbstractAttributeCompletionResolver
org.eclipse.lemminx.extensions.contentmodel.participants.completion.AttributeNameCompletionResolver
- All Implemented Interfaces:
ICompletionItemResolveParticipant
Resolves the completion item with the documentation of the attribute name
from the content model.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidresolveCompletionItem(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Resolve the completion item from the content model to the given completion request.Methods inherited from class org.eclipse.lemminx.services.extensions.completion.AbstractAttributeCompletionResolver
resolveCompletionItemMethods inherited from class org.eclipse.lemminx.services.extensions.completion.AbstractCompletionResolver
resolveCompletionItem
-
Field Details
-
PARTICIPANT_ID
-
-
Constructor Details
-
AttributeNameCompletionResolver
public AttributeNameCompletionResolver()
-
-
Method Details
-
resolveCompletionItem
protected void resolveCompletionItem(DOMElement element, org.eclipse.lsp4j.CompletionItem toResolve, ICompletionItemResolverRequest request, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Description copied from class:AbstractAttributeCompletionResolverResolve the completion item from the content model to the given completion request.- Specified by:
resolveCompletionItemin classAbstractAttributeCompletionResolvertoResolve- the unresolved completion item to resolverequest- the completion resolve request
-