File: completion_trigger_kind.rb

package info (click to toggle)
ruby-language-server-protocol 3.17.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,636 kB
  • sloc: ruby: 10,741; makefile: 4
file content (26 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module LanguageServer
  module Protocol
    module Constant
      #
      # How a completion was triggered
      #
      module CompletionTriggerKind
        #
        # Completion was triggered by typing an identifier (24x7 code
        # complete), manual invocation (e.g Ctrl+Space) or via API.
        #
        INVOKED = 1
        #
        # Completion was triggered by a trigger character specified by
        # the `triggerCharacters` properties of the
        # `CompletionRegistrationOptions`.
        #
        TRIGGER_CHARACTER = 2
        #
        # Completion was re-triggered as the current completion list is incomplete.
        #
        TRIGGER_FOR_INCOMPLETE_COMPLETIONS = 3
      end
    end
  end
end