Class: Rucoa::Handlers::TextDocumentDidOpenHandler

Inherits:
Base
  • Object
show all
Includes:
Rucoa::HandlerConcerns::DiagnosticsPublishable, Rucoa::HandlerConcerns::TextDocumentUriParameters
Defined in:
lib/rucoa/handlers/text_document_did_open_handler.rb

Direct Known Subclasses

TextDocumentDidChangeHandler

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::Base

Instance Method Details

#callObject



9
10
11
12
13
# File 'lib/rucoa/handlers/text_document_did_open_handler.rb', line 9

def call
  source_store.update(source)
  definition_store.update_from(source)
  publish_diagnostics_on(parameter_uri)
end