Package org.eclipse.lemminx.settings
Class XMLInlayHintSettings
java.lang.Object
org.eclipse.lemminx.settings.XMLInlayHintSettings
XML Inlay Hint settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if inlay hints are enabled.booleanReturns true if the client supports workspace/inlayHint/refresh and false otherwise.booleanbooleanbooleanvoidmerge(XMLInlayHintSettings newSettings) voidsetEnabled(boolean enabled) voidsetRefreshSupport(boolean refreshSupport) Set true if the client supports workspace/inlayHint/refresh and false otherwise.voidsetShowAttributeType(boolean showAttributeType) voidsetShowDefaultValue(boolean showDefaultValue) voidsetShowElementType(boolean showElementType)
-
Constructor Details
-
XMLInlayHintSettings
public XMLInlayHintSettings()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns true if inlay hints are enabled.- Returns:
- true if inlay hints are enabled.
-
setEnabled
public void setEnabled(boolean enabled) -
isShowElementType
public boolean isShowElementType() -
setShowElementType
public void setShowElementType(boolean showElementType) -
isShowAttributeType
public boolean isShowAttributeType() -
setShowAttributeType
public void setShowAttributeType(boolean showAttributeType) -
isShowDefaultValue
public boolean isShowDefaultValue() -
setShowDefaultValue
public void setShowDefaultValue(boolean showDefaultValue) -
isRefreshSupport
public boolean isRefreshSupport()Returns true if the client supports workspace/inlayHint/refresh and false otherwise.- Returns:
- true if the client supports workspace/inlayHint/refresh and false otherwise.
-
setRefreshSupport
public void setRefreshSupport(boolean refreshSupport) Set true if the client supports workspace/inlayHint/refresh and false otherwise.- Parameters:
refreshSupport-
-
merge
-