Class ClientCapabilitiesWrapper
java.lang.Object
org.eclipse.lemminx.settings.capabilities.ClientCapabilitiesWrapper
Determines if a client supports a specific capability dynamically
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientCapabilitiesWrapper(org.eclipse.lsp4j.ClientCapabilities capabilities, ExtendedClientCapabilities extendedCapabilities) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.lsp4j.TextDocumentClientCapabilitiesorg.eclipse.lsp4j.WorkspaceClientCapabilitiesbooleanbooleanbooleanbooleanIMPORTANT This should be up to date with all Server supported capabilitiesbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanReturns true if the client should exit on shutdown() request and avoid waiting for an exit() request
-
Field Details
-
capabilities
public org.eclipse.lsp4j.ClientCapabilities capabilities
-
-
Constructor Details
-
ClientCapabilitiesWrapper
public ClientCapabilitiesWrapper() -
ClientCapabilitiesWrapper
public ClientCapabilitiesWrapper(org.eclipse.lsp4j.ClientCapabilities capabilities, ExtendedClientCapabilities extendedCapabilities)
-
-
Method Details
-
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() -
isDidChangeWorkspaceFoldersSupported
public boolean isDidChangeWorkspaceFoldersSupported() -
getTextDocument
public org.eclipse.lsp4j.TextDocumentClientCapabilities getTextDocument() -
getWorkspace
public org.eclipse.lsp4j.WorkspaceClientCapabilities getWorkspace() -
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
-