Class: LSP::WorkDoneProgressClientCapabilities
- Defined in:
- lib/lsp/lsp_protocol_progress.rb
Overview
export interface WorkDoneProgressClientCapabilities {
/**
* Window specific client capabilities.
*/
window?: {
/**
* Whether client supports handling progress notifications. If set servers are allowed to
* report in `workDoneProgress` property in the request specific server capabilities.
*
* Since 3.15.0
*/
workDoneProgress?: boolean;
};
}
Instance Attribute Summary collapse
-
#window ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ WorkDoneProgressClientCapabilities
constructor
/** * Whether client supports handling progress notifications.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ WorkDoneProgressClientCapabilities
/**
* Whether client supports handling progress notifications. If set servers are allowed to
* report in `workDoneProgress` property in the request specific server capabilities.
*
* Since 3.15.0
*/
workDoneProgress?: boolean;
}
33 34 35 36 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 33 def initialize(initial_hash = nil) super @optional_method_names = i[window] end |
Instance Attribute Details
#window ⇒ Object
type: {
22 23 24 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 22 def window @window end |
Instance Method Details
#from_h!(value) ⇒ Object
38 39 40 41 42 |
# File 'lib/lsp/lsp_protocol_progress.rb', line 38 def from_h!(value) value = {} if value.nil? self.window = value['window'] # Unknown type self end |