Package org.eclipse.lemminx.settings
Class XMLHoverSettings
java.lang.Object
org.eclipse.lemminx.settings.XMLHoverSettings
A wrapper around LSP
HoverCapabilities.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSupportMarkupKind(String kind) Returns whether the client supports the given markup kind in hoverdocumentation.org.eclipse.lsp4j.HoverCapabilitiesvoidsetCapabilities(org.eclipse.lsp4j.HoverCapabilities capabilities)
-
Constructor Details
-
XMLHoverSettings
public XMLHoverSettings()
-
-
Method Details
-
setCapabilities
public void setCapabilities(org.eclipse.lsp4j.HoverCapabilities capabilities) -
getCapabilities
public org.eclipse.lsp4j.HoverCapabilities getCapabilities() -
canSupportMarkupKind
Returns whether the client supports the given markup kind in hoverdocumentation.- Parameters:
kind- the markup kind (e.g.MarkupKind.MARKDOWN).- Returns:
trueif the kind is supported,falseotherwise.
-