class LSProtocol::WorkspaceClientCapabilities

Overview

Workspace specific client capabilities.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(apply_edit : Bool | Nil = nil, code_lens : CodeLensWorkspaceClientCapabilities | Nil = nil, configuration : Bool | Nil = nil, diagnostics : DiagnosticWorkspaceClientCapabilities | Nil = nil, did_change_configuration : DidChangeConfigurationClientCapabilities | Nil = nil, did_change_watched_files : DidChangeWatchedFilesClientCapabilities | Nil = nil, execute_command : ExecuteCommandClientCapabilities | Nil = nil, file_operations : FileOperationClientCapabilities | Nil = nil, folding_range : FoldingRangeWorkspaceClientCapabilities | Nil = nil, inlay_hint : InlayHintWorkspaceClientCapabilities | Nil = nil, inline_value : InlineValueWorkspaceClientCapabilities | Nil = nil, semantic_tokens : SemanticTokensWorkspaceClientCapabilities | Nil = nil, symbol : WorkspaceSymbolClientCapabilities | Nil = nil, text_document_content : TextDocumentContentClientCapabilities | Nil = nil, workspace_edit : WorkspaceEditClientCapabilities | Nil = nil, workspace_folders : Bool | Nil = nil) #

[View source]

Instance Method Detail

def apply_edit : Bool | Nil #

The client supports applying batch edits to the workspace by supporting the request 'workspace/applyEdit'


[View source]
def code_lens : CodeLensWorkspaceClientCapabilities | Nil #

Capabilities specific to the code lens requests scoped to the workspace.

@since 3.16.0.


[View source]
def configuration : Bool | Nil #

The client supports workspace/configuration requests.

@since 3.6.0


[View source]
def diagnostics : DiagnosticWorkspaceClientCapabilities | Nil #

Capabilities specific to the diagnostic requests scoped to the workspace.

@since 3.17.0.


[View source]
def did_change_configuration : DidChangeConfigurationClientCapabilities | Nil #

Capabilities specific to the workspace/didChangeConfiguration notification.


[View source]
def did_change_watched_files : DidChangeWatchedFilesClientCapabilities | Nil #

Capabilities specific to the workspace/didChangeWatchedFiles notification.


[View source]
def execute_command : ExecuteCommandClientCapabilities | Nil #

Capabilities specific to the workspace/executeCommand request.


[View source]
def file_operations : FileOperationClientCapabilities | Nil #

The client has support for file notifications/requests for user operations on files.

Since 3.16.0


[View source]
def folding_range : FoldingRangeWorkspaceClientCapabilities | Nil #

Capabilities specific to the folding range requests scoped to the workspace.

@since 3.18.0 @proposed


[View source]
def inlay_hint : InlayHintWorkspaceClientCapabilities | Nil #

Capabilities specific to the inlay hint requests scoped to the workspace.

@since 3.17.0.


[View source]
def inline_value : InlineValueWorkspaceClientCapabilities | Nil #

Capabilities specific to the inline values requests scoped to the workspace.

@since 3.17.0.


[View source]
def semantic_tokens : SemanticTokensWorkspaceClientCapabilities | Nil #

Capabilities specific to the semantic token requests scoped to the workspace.

@since 3.16.0.


[View source]

Capabilities specific to the workspace/symbol request.


[View source]
def text_document_content : TextDocumentContentClientCapabilities | Nil #

Capabilities specific to the workspace/textDocumentContent request.

@since 3.18.0 @proposed


[View source]
def workspace_edit : WorkspaceEditClientCapabilities | Nil #

Capabilities specific to WorkspaceEdits.


[View source]
def workspace_folders : Bool | Nil #

The client has support for workspace folders.

@since 3.6.0


[View source]