Class ClientCapabilitiesWrapper
- java.lang.Object
-
- org.eclipse.lemminx.settings.capabilities.ClientCapabilitiesWrapper
-
public class ClientCapabilitiesWrapper extends Object
Determines if a client supports a specific capability dynamically
-
-
Field Summary
Fields Modifier and Type Field Description org.eclipse.lsp4j.ClientCapabilitiescapabilities
-
Constructor Summary
Constructors Constructor Description ClientCapabilitiesWrapper()ClientCapabilitiesWrapper(org.eclipse.lsp4j.ClientCapabilities capabilities, ExtendedClientCapabilities extendedCapabilities)
-
Method Summary
-
-
-
Constructor Detail
-
ClientCapabilitiesWrapper
public ClientCapabilitiesWrapper()
-
ClientCapabilitiesWrapper
public ClientCapabilitiesWrapper(org.eclipse.lsp4j.ClientCapabilities capabilities, ExtendedClientCapabilities extendedCapabilities)
-
-
Method Detail
-
isCompletionDynamicRegistrationSupported
public boolean isCompletionDynamicRegistrationSupported()
IMPORTANT This should be up to date with all Server supported capabilities
-
isLinkDynamicRegistrationSupported
public boolean isLinkDynamicRegistrationSupported()
-
isColorDynamicRegistrationSupported
public boolean isColorDynamicRegistrationSupported()
-
isRangeFoldingDynamicRegistrationSupported
public boolean isRangeFoldingDynamicRegistrationSupported()
-
isDocumentSyncDynamicRegistrationSupported
public boolean isDocumentSyncDynamicRegistrationSupported()
-
isFormattingDynamicRegistrationSupported
public boolean isFormattingDynamicRegistrationSupported()
-
isRangeFormattingDynamicRegistrationSupported
public boolean isRangeFormattingDynamicRegistrationSupported()
-
isRenameDynamicRegistrationSupported
public boolean isRenameDynamicRegistrationSupported()
-
isDocumentSymbolDynamicRegistrationSupported
public boolean isDocumentSymbolDynamicRegistrationSupported()
-
isCodeLensDynamicRegistrationSupported
public boolean isCodeLensDynamicRegistrationSupported()
-
isDefinitionDynamicRegistered
public boolean isDefinitionDynamicRegistered()
-
isTypeDefinitionDynamicRegistered
public boolean isTypeDefinitionDynamicRegistered()
-
isReferencesDynamicRegistrationSupported
public boolean isReferencesDynamicRegistrationSupported()
-
isCodeActionDynamicRegistered
public boolean isCodeActionDynamicRegistered()
-
isHoverDynamicRegistered
public boolean isHoverDynamicRegistered()
-
isDocumentHighlightDynamicRegistered
public boolean isDocumentHighlightDynamicRegistered()
-
isSelectionRangeDynamicRegistered
public boolean isSelectionRangeDynamicRegistered()
-
isDidChangeWatchedFilesRegistered
public boolean isDidChangeWatchedFilesRegistered()
-
isLinkedEditingRangeDynamicRegistered
public boolean isLinkedEditingRangeDynamicRegistered()
-
getTextDocument
public org.eclipse.lsp4j.TextDocumentClientCapabilities getTextDocument()
-
getExtendedCapabilities
public ExtendedClientCapabilities getExtendedCapabilities()
-
isWorkspaceFoldersSupported
public boolean isWorkspaceFoldersSupported()
-
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
-
isWorkDoneProgressSupported
public boolean isWorkDoneProgressSupported()
-
-