Class: LSP::WorkspaceFoldersClientCapabilities
- Defined in:
- lib/lsp/lsp_protocol_workspacefolders.rb
Overview
export interface WorkspaceFoldersClientCapabilities {
/**
* The workspace client capabilities
*/
workspace?: {
/**
* The client has support for workspace folders
*/
workspaceFolders?: boolean;
};
}
Instance Attribute Summary collapse
-
#workspace ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ WorkspaceFoldersClientCapabilities
constructor
/** * The client has support for workspace folders */ workspaceFolders?: boolean; }.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ WorkspaceFoldersClientCapabilities
/**
* The client has support for workspace folders
*/
workspaceFolders?: boolean;
}
45 46 47 48 |
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 45 def initialize(initial_hash = nil) super @optional_method_names = %i[workspace] end |
Instance Attribute Details
#workspace ⇒ Object
type: {
37 38 39 |
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 37 def workspace @workspace end |
Instance Method Details
#from_h!(value) ⇒ Object
50 51 52 53 54 |
# File 'lib/lsp/lsp_protocol_workspacefolders.rb', line 50 def from_h!(value) value = {} if value.nil? self.workspace = value['workspace'] # Unknown type self end |