File: code_action_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 (22 lines) | stat: -rw-r--r-- 555 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
module LanguageServer
  module Protocol
    module Constant
      #
      # The reason why code actions were requested.
      #
      module CodeActionTriggerKind
        #
        # Code actions were explicitly requested by the user or by an extension.
        #
        INVOKED = 1
        #
        # Code actions were requested automatically.
        #
        # This typically happens when current selection in a file changes, but can
        # also be triggered when file content changes.
        #
        AUTOMATIC = 2
      end
    end
  end
end