Class: Rucoa::Handlers::TextDocumentCompletionHandler

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

Constant Summary collapse

COMPLETION_ITEM_KIND_FOR_TEXT =
1
COMPLETION_ITEM_KIND_FOR_METHOD =
2
COMPLETION_ITEM_KIND_FOR_FUNCTION =
3
COMPLETION_ITEM_KIND_FOR_CONSTRUCTOR =
4
COMPLETION_ITEM_KIND_FOR_FIELD =
5
COMPLETION_ITEM_KIND_FOR_VARIABLE =
6
COMPLETION_ITEM_KIND_FOR_CLASS =
7
COMPLETION_ITEM_KIND_FOR_INTERFACE =
8
COMPLETION_ITEM_KIND_FOR_MODULE =
9
COMPLETION_ITEM_KIND_FOR_PROPERTY =
10
COMPLETION_ITEM_KIND_FOR_UNIT =
11
COMPLETION_ITEM_KIND_FOR_VALUE =
12
COMPLETION_ITEM_KIND_FOR_ENUM =
13
COMPLETION_ITEM_KIND_FOR_KEYWORD =
14
COMPLETION_ITEM_KIND_FOR_SNIPPET =
15
COMPLETION_ITEM_KIND_FOR_COLOR =
16
COMPLETION_ITEM_KIND_FOR_FILE =
17
COMPLETION_ITEM_KIND_FOR_REFERENCE =
18
COMPLETION_ITEM_KIND_FOR_FOLDER =
19
COMPLETION_ITEM_KIND_FOR_ENUM_MEMBER =
20
COMPLETION_ITEM_KIND_FOR_CONSTANT =
21
COMPLETION_ITEM_KIND_FOR_STRUCT =
22
COMPLETION_ITEM_KIND_FOR_EVENT =
23
COMPLETION_ITEM_KIND_FOR_OPERATOR =
24
COMPLETION_ITEM_KIND_FOR_TYPE_PARAMETER =
25

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



38
39
40
# File 'lib/rucoa/handlers/text_document_completion_handler.rb', line 38

def call
  respond(completion_items)
end