Package org.eclipse.lemminx.settings
Class XMLSemanticTokensSettings
java.lang.Object
org.eclipse.lemminx.settings.XMLSemanticTokensSettings
XML semantic tokens settings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if semantic tokens service is enabled and false otherwise.booleanReturns true if the client supports workspace/semanticTokens/refresh and false otherwise.voidmerge(XMLSemanticTokensSettings newSettings) voidsetEnabled(boolean enabled) Set true if semantic tokens service is enabled and false otherwise.voidsetRefreshSupport(boolean refreshSupport) Set true if the client supports workspace/semanticTokens/refresh and false otherwise.
-
Constructor Details
-
XMLSemanticTokensSettings
public XMLSemanticTokensSettings()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns true if semantic tokens service is enabled and false otherwise.- Returns:
- true if semantic tokens service is enabled and false otherwise.
-
setEnabled
public void setEnabled(boolean enabled) Set true if semantic tokens service is enabled and false otherwise.- Parameters:
enabled-
-
isRefreshSupport
public boolean isRefreshSupport()Returns true if the client supports workspace/semanticTokens/refresh and false otherwise.- Returns:
- true if the client supports workspace/semanticTokens/refresh and false otherwise.
-
setRefreshSupport
public void setRefreshSupport(boolean refreshSupport) Set true if the client supports workspace/semanticTokens/refresh and false otherwise.- Parameters:
refreshSupport-
-
merge
-