Package org.eclipse.lemminx.client
Class ExtendedClientCapabilities
java.lang.Object
org.eclipse.lemminx.client.ExtendedClientCapabilities
Extended client capabilities not defined by the LSP.
- Author:
- Angelo ZERR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the client supports actionable notifications and false otherwise SeeActionableNotificationandXMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)booleanReturns true if the client supports the `xml.open.binding.wizard` command using dropdown and false otherwisebooleanReturns true if the client supports the open settings command and false otherwise SeeClientCommands.OPEN_SETTINGSvoidsetActionableNotificationSupport(boolean actionableNotificationSupport) Sets the actionableNotificationSupport booleanvoidsetBindingWizardSupport(boolean bindingWizardSupport) Sets the bindingWizardSupport booleanvoidsetCodeLens(ExtendedCodeLensCapabilities codeLens) voidsetOpenSettingsCommandSupport(boolean openSettingsCommandSupport) Sets the openSettingsCommandSupport booleanvoidsetShouldLanguageServerExitOnShutdown(boolean shouldLanguageServerExitOnShutdown) Sets the boolean permitting language server to exit on client shutdown() request, without waiting for client to call exit()booleanReturns true if the client should exit on shutdown() request and avoid waiting for an exit() request
-
Constructor Details
-
ExtendedClientCapabilities
public ExtendedClientCapabilities()
-
-
Method Details
-
getCodeLens
-
setCodeLens
-
isActionableNotificationSupport
public boolean isActionableNotificationSupport()Returns true if the client supports actionable notifications and false otherwise SeeActionableNotificationandXMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)- Returns:
- true if the client supports actionable notifications and false otherwise
-
setActionableNotificationSupport
public void setActionableNotificationSupport(boolean actionableNotificationSupport) Sets the actionableNotificationSupport boolean- Parameters:
actionableNotificationSupport-
-
isOpenSettingsCommandSupport
public boolean isOpenSettingsCommandSupport()Returns true if the client supports the open settings command and false otherwise SeeClientCommands.OPEN_SETTINGS- Returns:
- true if the client supports the open settings command and false otherwise
-
setOpenSettingsCommandSupport
public void setOpenSettingsCommandSupport(boolean openSettingsCommandSupport) Sets the openSettingsCommandSupport boolean- Parameters:
openSettingsCommandSupport-
-
isBindingWizardSupport
public boolean isBindingWizardSupport()Returns true if the client supports the `xml.open.binding.wizard` command using dropdown and false otherwise- Returns:
- bindingWizardSupport
-
setBindingWizardSupport
public void setBindingWizardSupport(boolean bindingWizardSupport) Sets the bindingWizardSupport boolean- Parameters:
bindingWizardSupport-
-
setShouldLanguageServerExitOnShutdown
public void setShouldLanguageServerExitOnShutdown(boolean shouldLanguageServerExitOnShutdown) Sets the boolean permitting language server to exit on client shutdown() request, without waiting for client to call exit()- Parameters:
shouldLanguageServerExitOnShutdown-
-
shouldLanguageServerExitOnShutdown
public boolean shouldLanguageServerExitOnShutdown()Returns true if the client should exit on shutdown() request and avoid waiting for an exit() request- Returns:
- true if the language server should exit on shutdown() request
-