Class: Solargraph::LanguageServer::Message::Initialized

Inherits:
Base
  • Object
show all
Defined in:
lib/solargraph/language_server/message/initialized.rb

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



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/solargraph/language_server/message/initialized.rb', line 7

def process
  # @todo Temporarily removed textDocument/codeAction
  host.register_capabilities %w[
    textDocument/completion
    textDocument/hover
    textDocument/signatureHelp
    textDocument/formatting
    textDocument/documentSymbol
    textDocument/definition
    textDocument/references
    textDocument/rename
    textDocument/prepareRename
    textDocument/foldingRange
    workspace/symbol
  ]
end