Package org.eclipse.lemminx.client
Class ExtendedClientCapabilities
- java.lang.Object
-
- org.eclipse.lemminx.client.ExtendedClientCapabilities
-
public class ExtendedClientCapabilities extends Object
Extended client capabilities not defined by the LSP.- Author:
- Angelo ZERR
-
-
Constructor Summary
Constructors Constructor Description ExtendedClientCapabilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedCodeLensCapabilitiesgetCodeLens()booleanisActionableNotificationSupport()Returns true if the client supports actionable notifications and false otherwise SeeActionableNotificationandXMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)booleanisBindingWizardSupport()Returns true if the client supports the `xml.open.binding.wizard` command using dropdown and false otherwisebooleanisOpenSettingsCommandSupport()Returns 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()booleanshouldLanguageServerExitOnShutdown()Returns true if the client should exit on shutdown() request and avoid waiting for an exit() request
-
-
-
Method Detail
-
getCodeLens
public ExtendedCodeLensCapabilities getCodeLens()
-
setCodeLens
public void setCodeLens(ExtendedCodeLensCapabilities codeLens)
-
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
-
-