class LSProtocol::WorkspaceOptions
- LSProtocol::WorkspaceOptions
- Reference
- Object
Overview
Defines workspace specific capabilities of the server.
@since 3.18.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(file_operations : FileOperationOptions | Nil = nil, text_document_content : TextDocumentContentOptions | TextDocumentContentRegistrationOptions | Nil = nil, workspace_folders : WorkspaceFoldersServerCapabilities | Nil = nil)
Instance Method Summary
-
#file_operations : FileOperationOptions | Nil
The server is interested in notifications/requests for operations on files.
-
#text_document_content : TextDocumentContentOptions | TextDocumentContentRegistrationOptions | Nil
The server supports the
workspace/textDocumentContent
request. -
#workspace_folders : WorkspaceFoldersServerCapabilities | Nil
The server supports workspace folder.
Constructor Detail
def self.new(file_operations : FileOperationOptions | Nil = nil, text_document_content : TextDocumentContentOptions | TextDocumentContentRegistrationOptions | Nil = nil, workspace_folders : WorkspaceFoldersServerCapabilities | Nil = nil)
#
Instance Method Detail
def file_operations : FileOperationOptions | Nil
#
The server is interested in notifications/requests for operations on files.
@since 3.16.0
def text_document_content : TextDocumentContentOptions | TextDocumentContentRegistrationOptions | Nil
#
The server supports the workspace/textDocumentContent
request.
@since 3.18.0 @proposed
def workspace_folders : WorkspaceFoldersServerCapabilities | Nil
#
The server supports workspace folder.
@since 3.6.0