Class RNCCompletionResolver
java.lang.Object
org.eclipse.lemminx.extensions.relaxng.grammar.rnc.completion.RNCCompletionResolver
Handles lazy resolution of completion item documentation for RNC files.
At completion time, items are created with a resolveKind in their
data payload. When the client requests full documentation (via
completionItem/resolve), this class loads the appropriate content
based on the resolve kind.
Use case: the user selects a completion item in the editor and the client requests its full documentation — this class loads it lazily to avoid computing documentation for all items upfront.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.lsp4j.CompletionItemresolveCompletionItem(org.eclipse.lsp4j.CompletionItem item, RNCDocument rncDocument, RNCHover hover, SharedSettings sharedSettings, IRNCDocumentProvider documentProvider, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker) Resolves the documentation for a completion item that was deferred at completion time.
-
Method Details