Class: LSP::RenameOptions
Overview
export interface RenameOptions extends WorkDoneProgressOptions
/**
* Renames should be checked and tested before being executed.
*
* @since version 3.12.0
*/
prepareProvider?: boolean;
Instance Attribute Summary collapse
-
#prepareProvider ⇒ Object
type: boolean # type: boolean.
-
#workDoneProgress ⇒ Object
type: boolean # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ RenameOptions
constructor
A new instance of RenameOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ RenameOptions
Returns a new instance of RenameOptions.
2542 2543 2544 2545 |
# File 'lib/lsp/lsp_protocol.rb', line 2542 def initialize(initial_hash = nil) super @optional_method_names = %i[prepareProvider workDoneProgress] end |
Instance Attribute Details
#prepareProvider ⇒ Object
type: boolean # type: boolean
2540 2541 2542 |
# File 'lib/lsp/lsp_protocol.rb', line 2540 def prepareProvider @prepareProvider end |
#workDoneProgress ⇒ Object
type: boolean # type: boolean
2540 2541 2542 |
# File 'lib/lsp/lsp_protocol.rb', line 2540 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
2547 2548 2549 2550 2551 2552 |
# File 'lib/lsp/lsp_protocol.rb', line 2547 def from_h!(value) value = {} if value.nil? self.prepareProvider = value['prepareProvider'] # Unknown type self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |