public class ExtendedClientCapabilities extends Object
https://github.com/microsoft/language-server-protocol/issues/788
Constructor and Description |
---|
ExtendedClientCapabilities() |
Modifier and Type | Method and Description |
---|---|
ExtendedCodeLensCapabilities |
getCodeLens() |
boolean |
isActionableNotificationSupport()
Returns true if the client supports actionable notifications and false otherwise
See
ActionableNotification and
XMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification) |
boolean |
isBindingWizardSupport()
Returns true if the client supports the `xml.open.binding.wizard` command using dropdown and false otherwise
|
boolean |
isOpenSettingsCommandSupport()
Returns true if the client supports the open settings command and false otherwise
See
ClientCommands.OPEN_SETTINGS |
void |
setActionableNotificationSupport(boolean actionableNotificationSupport)
Sets the actionableNotificationSupport boolean
|
void |
setBindingWizardSupport(boolean bindingWizardSupport)
Sets the bindingWizardSupport boolean
|
void |
setCodeLens(ExtendedCodeLensCapabilities codeLens) |
void |
setOpenSettingsCommandSupport(boolean openSettingsCommandSupport)
Sets the openSettingsCommandSupport boolean
|
void |
setShouldLanguageServerExitOnShutdown(boolean shouldLanguageServerExitOnShutdown)
Sets the boolean permitting language server to exit on client
shutdown() request, without waiting for client to call exit()
|
boolean |
shouldLanguageServerExitOnShutdown()
Returns true if the client should exit on shutdown() request and
avoid waiting for an exit() request
|
public ExtendedCodeLensCapabilities getCodeLens()
public void setCodeLens(ExtendedCodeLensCapabilities codeLens)
public boolean isActionableNotificationSupport()
ActionableNotification
and
XMLLanguageClientAPI.actionableNotification(org.eclipse.lemminx.customservice.ActionableNotification)
public void setActionableNotificationSupport(boolean actionableNotificationSupport)
actionableNotificationSupport
- public boolean isOpenSettingsCommandSupport()
ClientCommands.OPEN_SETTINGS
public void setOpenSettingsCommandSupport(boolean openSettingsCommandSupport)
openSettingsCommandSupport
- public boolean isBindingWizardSupport()
public void setBindingWizardSupport(boolean bindingWizardSupport)
bindingWizardSupport
- public void setShouldLanguageServerExitOnShutdown(boolean shouldLanguageServerExitOnShutdown)
shouldLanguageServerExitOnShutdown
- public boolean shouldLanguageServerExitOnShutdown()
Copyright © 2021. All rights reserved.