Class: Solargraph::LanguageServer::Message::CompletionItem::Resolve
- Defined in:
- lib/solargraph/language_server/message/completion_item/resolve.rb
Overview
completionItem/resolve message handler
Instance Attribute Summary
Attributes inherited from Base
#error, #host, #id, #method, #params, #request, #result
Instance Method Summary collapse
Methods inherited from Base
#initialize, #post_initialize, #send_response, #set_error, #set_result
Constructor Details
This class inherits a constructor from Solargraph::LanguageServer::Message::Base
Instance Method Details
#process ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/solargraph/language_server/message/completion_item/resolve.rb', line 8 def process pin = host.locate_pin params if pin.nil? set_result params else set_result( params.merge(pin.resolve_completion_item) ) end end |