Class: LSP::CodeLensOptions
Overview
export interface CodeLensOptions extends WorkDoneProgressOptions
/**
* Code lens has a resolve provider as well.
*/
resolveProvider?: boolean;
Instance Attribute Summary collapse
-
#resolveProvider ⇒ Object
type: boolean # type: boolean.
-
#workDoneProgress ⇒ Object
type: boolean # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ CodeLensOptions
constructor
A new instance of CodeLensOptions.
Methods inherited from LSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ CodeLensOptions
Returns a new instance of CodeLensOptions.
2076 2077 2078 2079 |
# File 'lib/lsp/lsp_protocol.rb', line 2076 def initialize(initial_hash = nil) super @optional_method_names = %i[resolveProvider workDoneProgress] end |
Instance Attribute Details
#resolveProvider ⇒ Object
type: boolean # type: boolean
2074 2075 2076 |
# File 'lib/lsp/lsp_protocol.rb', line 2074 def resolveProvider @resolveProvider end |
#workDoneProgress ⇒ Object
type: boolean # type: boolean
2074 2075 2076 |
# File 'lib/lsp/lsp_protocol.rb', line 2074 def workDoneProgress @workDoneProgress end |
Instance Method Details
#from_h!(value) ⇒ Object
2081 2082 2083 2084 2085 2086 |
# File 'lib/lsp/lsp_protocol.rb', line 2081 def from_h!(value) value = {} if value.nil? self.resolveProvider = value['resolveProvider'] # Unknown type self.workDoneProgress = value['workDoneProgress'] # Unknown type self end |