class Solargraph::LanguageServer::Message::Extended::Document

Public Instance Methods

process() click to toggle source
# File lib/solargraph/language_server/message/extended/document.rb, line 8
def process
  objects = host.document(params['query'])
  page = Solargraph::Page.new(host.options['viewsPath'])
  content = page.render('document', layout: true, locals: {objects: objects})
  set_result(
    content: content
  )
end