Class: Solargraph::LanguageServer::Message::CompletionItem::Resolve

Inherits:
Base
  • Object
show all
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

#processObject



10
11
12
13
# File 'lib/solargraph/language_server/message/completion_item/resolve.rb', line 10

def process
  pins = host.locate_pins(params)
  set_result merge(pins)
end