Class ExtendedClientCapabilities


  • public class ExtendedClientCapabilities
    extends Object
    Extended client capabilities not defined by the LSP.
    Author:
    Angelo ZERR
    • Constructor Detail

      • ExtendedClientCapabilities

        public ExtendedClientCapabilities()
    • Method Detail

      • 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 See ClientCommands.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