language_server-protocol 3.7.0.0 → 3.15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/lib/language_server/protocol/constant.rb +14 -0
  4. data/lib/language_server/protocol/constant/code_action_kind.rb +75 -0
  5. data/lib/language_server/protocol/constant/completion_item_tag.rb +16 -0
  6. data/lib/language_server/protocol/constant/diagnostic_tag.rb +24 -0
  7. data/lib/language_server/protocol/constant/error_codes.rb +1 -0
  8. data/lib/language_server/protocol/constant/failure_handling_kind.rb +29 -0
  9. data/lib/language_server/protocol/constant/resource_operation_kind.rb +23 -0
  10. data/lib/language_server/protocol/constant/signature_help_trigger_kind.rb +23 -0
  11. data/lib/language_server/protocol/constant/text_document_sync_kind.rb +1 -0
  12. data/lib/language_server/protocol/interface.rb +186 -6
  13. data/lib/language_server/protocol/interface/apply_workspace_edit_response.rb +13 -1
  14. data/lib/language_server/protocol/interface/client_capabilities.rb +11 -2
  15. data/lib/language_server/protocol/interface/code_action.rb +92 -0
  16. data/lib/language_server/protocol/interface/code_action_client_capabilities.rb +52 -0
  17. data/lib/language_server/protocol/interface/code_action_context.rb +18 -2
  18. data/lib/language_server/protocol/interface/code_action_options.rb +37 -0
  19. data/lib/language_server/protocol/interface/code_action_params.rb +3 -2
  20. data/lib/language_server/protocol/interface/code_action_registration_options.rb +26 -0
  21. data/lib/language_server/protocol/interface/code_lens_client_capabilities.rb +33 -0
  22. data/lib/language_server/protocol/interface/code_lens_options.rb +3 -5
  23. data/lib/language_server/protocol/interface/code_lens_params.rb +3 -2
  24. data/lib/language_server/protocol/interface/code_lens_registration_options.rb +3 -10
  25. data/lib/language_server/protocol/interface/color_presentation_params.rb +3 -2
  26. data/lib/language_server/protocol/interface/completion_client_capabilities.rb +59 -0
  27. data/lib/language_server/protocol/interface/completion_item.rb +29 -5
  28. data/lib/language_server/protocol/interface/completion_options.rb +33 -11
  29. data/lib/language_server/protocol/interface/completion_params.rb +4 -3
  30. data/lib/language_server/protocol/interface/completion_registration_options.rb +4 -26
  31. data/lib/language_server/protocol/interface/create_file.rb +54 -0
  32. data/lib/language_server/protocol/interface/create_file_options.rb +45 -0
  33. data/lib/language_server/protocol/interface/declaration_client_capabilities.rb +44 -0
  34. data/lib/language_server/protocol/interface/declaration_options.rb +25 -0
  35. data/lib/language_server/protocol/interface/declaration_params.rb +25 -0
  36. data/lib/language_server/protocol/interface/{color_provider_options.rb → declaration_registration_options.rb} +3 -5
  37. data/lib/language_server/protocol/interface/definition_client_capabilities.rb +42 -0
  38. data/lib/language_server/protocol/interface/definition_options.rb +25 -0
  39. data/lib/language_server/protocol/interface/definition_params.rb +25 -0
  40. data/lib/language_server/protocol/interface/definition_registration_options.rb +25 -0
  41. data/lib/language_server/protocol/interface/delete_file.rb +54 -0
  42. data/lib/language_server/protocol/interface/delete_file_options.rb +45 -0
  43. data/lib/language_server/protocol/interface/diagnostic.rb +11 -2
  44. data/lib/language_server/protocol/interface/diagnostic_related_information.rb +1 -1
  45. data/lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb +33 -0
  46. data/lib/language_server/protocol/interface/did_change_text_document_params.rb +10 -2
  47. data/lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb +35 -0
  48. data/lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb +1 -1
  49. data/lib/language_server/protocol/interface/document_color_client_capabilities.rb +33 -0
  50. data/lib/language_server/protocol/interface/document_color_options.rb +25 -0
  51. data/lib/language_server/protocol/interface/document_color_params.rb +34 -0
  52. data/lib/language_server/protocol/interface/document_color_registration_options.rb +25 -0
  53. data/lib/language_server/protocol/interface/document_filter.rb +8 -0
  54. data/lib/language_server/protocol/interface/document_formatting_client_capabilities.rb +33 -0
  55. data/lib/language_server/protocol/interface/document_formatting_options.rb +25 -0
  56. data/lib/language_server/protocol/interface/document_formatting_params.rb +3 -2
  57. data/lib/language_server/protocol/interface/document_formatting_registration_options.rb +25 -0
  58. data/lib/language_server/protocol/interface/document_highlight_client_capabilities.rb +33 -0
  59. data/lib/language_server/protocol/interface/document_highlight_options.rb +25 -0
  60. data/lib/language_server/protocol/interface/document_highlight_params.rb +25 -0
  61. data/lib/language_server/protocol/interface/document_highlight_registration_options.rb +25 -0
  62. data/lib/language_server/protocol/interface/document_link.rb +14 -1
  63. data/lib/language_server/protocol/interface/document_link_client_capabilities.rb +42 -0
  64. data/lib/language_server/protocol/interface/document_link_options.rb +3 -5
  65. data/lib/language_server/protocol/interface/document_link_params.rb +3 -2
  66. data/lib/language_server/protocol/interface/document_link_registration_options.rb +3 -10
  67. data/lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb +33 -0
  68. data/lib/language_server/protocol/interface/document_on_type_formatting_options.rb +0 -3
  69. data/lib/language_server/protocol/interface/document_on_type_formatting_params.rb +1 -17
  70. data/lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb +2 -18
  71. data/lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb +33 -0
  72. data/lib/language_server/protocol/interface/document_range_formatting_options.rb +25 -0
  73. data/lib/language_server/protocol/interface/document_range_formatting_params.rb +3 -2
  74. data/lib/language_server/protocol/interface/document_range_formatting_registration_options.rb +25 -0
  75. data/lib/language_server/protocol/interface/document_symbol.rb +96 -0
  76. data/lib/language_server/protocol/interface/document_symbol_client_capabilities.rb +51 -0
  77. data/lib/language_server/protocol/interface/document_symbol_options.rb +25 -0
  78. data/lib/language_server/protocol/interface/document_symbol_params.rb +3 -2
  79. data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +25 -0
  80. data/lib/language_server/protocol/interface/execute_command_client_capabilities.rb +33 -0
  81. data/lib/language_server/protocol/interface/execute_command_options.rb +3 -5
  82. data/lib/language_server/protocol/interface/execute_command_params.rb +3 -2
  83. data/lib/language_server/protocol/interface/execute_command_registration_options.rb +3 -10
  84. data/lib/language_server/protocol/interface/file_system_watcher.rb +9 -1
  85. data/lib/language_server/protocol/interface/folding_range.rb +74 -0
  86. data/lib/language_server/protocol/interface/folding_range_client_capabilities.rb +55 -0
  87. data/lib/language_server/protocol/interface/folding_range_options.rb +25 -0
  88. data/lib/language_server/protocol/interface/folding_range_params.rb +34 -0
  89. data/lib/language_server/protocol/interface/folding_range_registration_options.rb +25 -0
  90. data/lib/language_server/protocol/interface/formatting_options.rb +28 -1
  91. data/lib/language_server/protocol/interface/hover_client_capabilities.rb +43 -0
  92. data/lib/language_server/protocol/interface/hover_options.rb +25 -0
  93. data/lib/language_server/protocol/interface/hover_params.rb +25 -0
  94. data/lib/language_server/protocol/interface/hover_registration_options.rb +25 -0
  95. data/lib/language_server/protocol/interface/implementation_client_capabilities.rb +44 -0
  96. data/lib/language_server/protocol/interface/implementation_options.rb +25 -0
  97. data/lib/language_server/protocol/interface/implementation_params.rb +25 -0
  98. data/lib/language_server/protocol/interface/implementation_registration_options.rb +25 -0
  99. data/lib/language_server/protocol/interface/initialize_params.rb +12 -4
  100. data/lib/language_server/protocol/interface/initialize_result.rb +10 -1
  101. data/lib/language_server/protocol/interface/location_link.rb +66 -0
  102. data/lib/language_server/protocol/interface/markup_content.rb +1 -1
  103. data/lib/language_server/protocol/interface/notification_message.rb +2 -1
  104. data/lib/language_server/protocol/interface/parameter_information.rb +9 -3
  105. data/lib/language_server/protocol/interface/partial_result_params.rb +34 -0
  106. data/lib/language_server/protocol/interface/prepare_rename_params.rb +26 -0
  107. data/lib/language_server/protocol/interface/progress_params.rb +42 -0
  108. data/lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb +53 -0
  109. data/lib/language_server/protocol/interface/publish_diagnostics_params.rb +10 -1
  110. data/lib/language_server/protocol/interface/reference_client_capabilities.rb +33 -0
  111. data/lib/language_server/protocol/interface/reference_options.rb +25 -0
  112. data/lib/language_server/protocol/interface/reference_params.rb +3 -2
  113. data/lib/language_server/protocol/interface/reference_registration_options.rb +25 -0
  114. data/lib/language_server/protocol/interface/rename_client_capabilities.rb +43 -0
  115. data/lib/language_server/protocol/interface/rename_file.rb +63 -0
  116. data/lib/language_server/protocol/interface/rename_file_options.rb +45 -0
  117. data/lib/language_server/protocol/interface/rename_options.rb +34 -0
  118. data/lib/language_server/protocol/interface/rename_params.rb +3 -20
  119. data/lib/language_server/protocol/interface/rename_registration_options.rb +26 -0
  120. data/lib/language_server/protocol/interface/request_message.rb +2 -1
  121. data/lib/language_server/protocol/interface/response_error.rb +2 -2
  122. data/lib/language_server/protocol/interface/response_message.rb +5 -4
  123. data/lib/language_server/protocol/interface/save_options.rb +0 -3
  124. data/lib/language_server/protocol/interface/selection_range.rb +42 -0
  125. data/lib/language_server/protocol/interface/selection_range_client_capabilities.rb +35 -0
  126. data/lib/language_server/protocol/interface/selection_range_options.rb +25 -0
  127. data/lib/language_server/protocol/interface/selection_range_params.rb +43 -0
  128. data/lib/language_server/protocol/interface/selection_range_registration_options.rb +25 -0
  129. data/lib/language_server/protocol/interface/server_capabilities.rb +78 -53
  130. data/lib/language_server/protocol/interface/signature_help.rb +8 -5
  131. data/lib/language_server/protocol/interface/signature_help_client_capabilities.rb +55 -0
  132. data/lib/language_server/protocol/interface/signature_help_context.rb +71 -0
  133. data/lib/language_server/protocol/interface/signature_help_options.rb +15 -5
  134. data/lib/language_server/protocol/interface/signature_help_params.rb +35 -0
  135. data/lib/language_server/protocol/interface/signature_help_registration_options.rb +4 -11
  136. data/lib/language_server/protocol/interface/symbol_information.rb +1 -1
  137. data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +2 -1
  138. data/lib/language_server/protocol/interface/text_document_client_capabilities.rb +97 -75
  139. data/lib/language_server/protocol/interface/text_document_registration_options.rb +3 -0
  140. data/lib/language_server/protocol/interface/text_document_save_registration_options.rb +1 -0
  141. data/lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb +62 -0
  142. data/lib/language_server/protocol/interface/text_document_sync_options.rb +14 -6
  143. data/lib/language_server/protocol/interface/type_definition_client_capabilities.rb +44 -0
  144. data/lib/language_server/protocol/interface/type_definition_options.rb +25 -0
  145. data/lib/language_server/protocol/interface/type_definition_params.rb +25 -0
  146. data/lib/language_server/protocol/interface/type_definition_registration_options.rb +25 -0
  147. data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +5 -1
  148. data/lib/language_server/protocol/interface/work_done_progress_begin.rb +80 -0
  149. data/lib/language_server/protocol/interface/work_done_progress_cancel_params.rb +33 -0
  150. data/lib/language_server/protocol/interface/work_done_progress_create_params.rb +33 -0
  151. data/lib/language_server/protocol/interface/work_done_progress_end.rb +40 -0
  152. data/lib/language_server/protocol/interface/work_done_progress_options.rb +30 -0
  153. data/lib/language_server/protocol/interface/work_done_progress_params.rb +33 -0
  154. data/lib/language_server/protocol/interface/work_done_progress_report.rb +70 -0
  155. data/lib/language_server/protocol/interface/workspace_edit.rb +11 -5
  156. data/lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb +53 -0
  157. data/lib/language_server/protocol/interface/workspace_folder.rb +2 -2
  158. data/lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb +48 -0
  159. data/lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb +42 -0
  160. data/lib/language_server/protocol/interface/workspace_symbol_options.rb +25 -0
  161. data/lib/language_server/protocol/interface/workspace_symbol_params.rb +5 -3
  162. data/lib/language_server/protocol/interface/workspace_symbol_registration_options.rb +25 -0
  163. data/lib/language_server/protocol/transport.rb +1 -0
  164. data/lib/language_server/protocol/transport/io.rb +2 -0
  165. data/lib/language_server/protocol/transport/io/reader.rb +47 -0
  166. data/lib/language_server/protocol/transport/io/writer.rb +34 -0
  167. data/lib/language_server/protocol/transport/stdio/reader.rb +3 -29
  168. data/lib/language_server/protocol/transport/stdio/writer.rb +3 -18
  169. data/lib/language_server/protocol/version.rb +1 -1
  170. metadata +105 -29
  171. data/.gitignore +0 -10
  172. data/.travis.yml +0 -5
  173. data/CHANGELOG.md +0 -13
  174. data/CODE_OF_CONDUCT.md +0 -74
  175. data/Dockerfile-node.development +0 -6
  176. data/Dockerfile.development +0 -24
  177. data/Gemfile +0 -6
  178. data/Rakefile +0 -10
  179. data/bin/console +0 -14
  180. data/bin/generate_files +0 -5
  181. data/bin/m +0 -17
  182. data/bin/setup +0 -6
  183. data/circle.yml +0 -27
  184. data/docker-compose.ci.yml +0 -14
  185. data/docker-compose.override.yml +0 -15
  186. data/docker-compose.yml +0 -31
  187. data/language_server-protocol.gemspec +0 -31
  188. data/lib/language_server/protocol/interface/text_document_content_change_event.rb +0 -55
  189. data/lib/language_server/protocol/interface/workspace_client_capabilites.rb +0 -82
  190. data/lib/language_server/protocol/interface/workspace_client_capabilities.rb +0 -104
  191. data/package.json +0 -10
  192. data/scripts/generateFiles.ts +0 -252
  193. data/yarn.lock +0 -293
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e82be81b509cb0a6901eaa5805dad18cd08a3bff0ba8e4aab12e1700837d725
4
- data.tar.gz: 87ebe70136ec93268422cdd25f619dcff32fa59c7d454ffe2d83136b22c78128
3
+ metadata.gz: 78134124af1f3aea590a0186d78e8eb83be8330063fbb6ab52dbc636eb55f35b
4
+ data.tar.gz: bd3261647c39245a6c02a3a1aad69499d058193cbf227bf11ddc1f31852a8838
5
5
  SHA512:
6
- metadata.gz: ec3861550e1a90b39c35d48721531cdf14ad8e0ed348c4c46f6a6563dfdd3e1ae8aa3cc7b69fbbca2d7af3b7e62d2c7ce2c562af7716357f1cb91eb1d0f536ad
7
- data.tar.gz: 6f109325286719a1bc068605a01b8678f25a0e1a234893b0b790f9f25ab0080cebff59f09c7c4ef724daae0c948149f3006ac01fa6e79b46e885e3661ad4872a
6
+ metadata.gz: 6a6caf04539863e7afa5f6d4c030150c3b12714d5bfbcb6ca97ac17807a83896d85eefd69cd0b084f155dfd462e7a053a2fd6f46a66d257d39e4b79c3c17cd83
7
+ data.tar.gz: 7f6891cdf154cb67f14b0b066d046c04a19dbe1e5b0c229001e64e2ada9bad15ee8bdf148394fa1e4782c20a450252af8cab054dd6cbe1b1ddffd85be69ce657
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- :memo: Currently, this gem supports only stdio as transport layer.
23
+ Currently, this gem supports only stdio as transport layer out of box.
24
24
 
25
25
  ```ruby
26
26
  require "language_server-protocol"
@@ -53,6 +53,14 @@ reader.read do |request|
53
53
  end
54
54
  ```
55
55
 
56
+ You can use any IO object as transport layer:
57
+
58
+ ```ruby
59
+ io = StringIO.new
60
+ writer = LSP::Transport::Io::Writer.new(io)
61
+ reader = LSP::Transport::Io::Reader.new(io)
62
+ ```
63
+
56
64
  ## Versioning
57
65
 
58
66
  language_server-protocol gem does NOT use semantic versioning.
@@ -1,34 +1,48 @@
1
1
  module LanguageServer
2
2
  module Protocol
3
3
  module Constant
4
+ autoload :CodeActionKind, "language_server/protocol/constant/code_action_kind"
4
5
  autoload :CompletionItemKind, "language_server/protocol/constant/completion_item_kind"
6
+ autoload :CompletionItemTag, "language_server/protocol/constant/completion_item_tag"
5
7
  autoload :CompletionTriggerKind, "language_server/protocol/constant/completion_trigger_kind"
6
8
  autoload :DiagnosticSeverity, "language_server/protocol/constant/diagnostic_severity"
9
+ autoload :DiagnosticTag, "language_server/protocol/constant/diagnostic_tag"
7
10
  autoload :DocumentHighlightKind, "language_server/protocol/constant/document_highlight_kind"
8
11
  autoload :ErrorCodes, "language_server/protocol/constant/error_codes"
12
+ autoload :FailureHandlingKind, "language_server/protocol/constant/failure_handling_kind"
9
13
  autoload :FileChangeType, "language_server/protocol/constant/file_change_type"
10
14
  autoload :InitializeError, "language_server/protocol/constant/initialize_error"
11
15
  autoload :InsertTextFormat, "language_server/protocol/constant/insert_text_format"
12
16
  autoload :MarkupKind, "language_server/protocol/constant/markup_kind"
13
17
  autoload :MessageType, "language_server/protocol/constant/message_type"
18
+ autoload :ResourceOperationKind, "language_server/protocol/constant/resource_operation_kind"
19
+ autoload :SignatureHelpTriggerKind, "language_server/protocol/constant/signature_help_trigger_kind"
14
20
  autoload :SymbolKind, "language_server/protocol/constant/symbol_kind"
15
21
  autoload :TextDocumentSaveReason, "language_server/protocol/constant/text_document_save_reason"
16
22
  autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
23
+ autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
17
24
  autoload :WatchKind, "language_server/protocol/constant/watch_kind"
18
25
 
26
+ require "language_server/protocol/constant/code_action_kind"
19
27
  require "language_server/protocol/constant/completion_item_kind"
28
+ require "language_server/protocol/constant/completion_item_tag"
20
29
  require "language_server/protocol/constant/completion_trigger_kind"
21
30
  require "language_server/protocol/constant/diagnostic_severity"
31
+ require "language_server/protocol/constant/diagnostic_tag"
22
32
  require "language_server/protocol/constant/document_highlight_kind"
23
33
  require "language_server/protocol/constant/error_codes"
34
+ require "language_server/protocol/constant/failure_handling_kind"
24
35
  require "language_server/protocol/constant/file_change_type"
25
36
  require "language_server/protocol/constant/initialize_error"
26
37
  require "language_server/protocol/constant/insert_text_format"
27
38
  require "language_server/protocol/constant/markup_kind"
28
39
  require "language_server/protocol/constant/message_type"
40
+ require "language_server/protocol/constant/resource_operation_kind"
41
+ require "language_server/protocol/constant/signature_help_trigger_kind"
29
42
  require "language_server/protocol/constant/symbol_kind"
30
43
  require "language_server/protocol/constant/text_document_save_reason"
31
44
  require "language_server/protocol/constant/text_document_sync_kind"
45
+ require "language_server/protocol/constant/text_document_sync_kind"
32
46
  require "language_server/protocol/constant/watch_kind"
33
47
  end
34
48
  end
@@ -0,0 +1,75 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ #
5
+ # The kind of a code action.
6
+ #
7
+ # Kinds are a hierarchical list of identifiers separated by `.`, e.g. `"refactor.extract.function"`.
8
+ #
9
+ # The set of kinds is open and client needs to announce the kinds it supports to the server during
10
+ # initialization.
11
+ # A set of predefined code action kinds.
12
+ #
13
+ module CodeActionKind
14
+ #
15
+ # Empty kind.
16
+ #
17
+ EMPTY = ''
18
+ #
19
+ # Base kind for quickfix actions: 'quickfix'.
20
+ #
21
+ QUICK_FIX = 'quickfix'
22
+ #
23
+ # Base kind for refactoring actions: 'refactor'.
24
+ #
25
+ REFACTOR = 'refactor'
26
+ #
27
+ # Base kind for refactoring extraction actions: 'refactor.extract'.
28
+ #
29
+ # Example extract actions:
30
+ #
31
+ # - Extract method
32
+ # - Extract function
33
+ # - Extract variable
34
+ # - Extract interface from class
35
+ # - ...
36
+ #
37
+ REFACTOR_EXTRACT = 'refactor.extract'
38
+ #
39
+ # Base kind for refactoring inline actions: 'refactor.inline'.
40
+ #
41
+ # Example inline actions:
42
+ #
43
+ # - Inline function
44
+ # - Inline variable
45
+ # - Inline constant
46
+ # - ...
47
+ #
48
+ REFACTOR_INLINE = 'refactor.inline'
49
+ #
50
+ # Base kind for refactoring rewrite actions: 'refactor.rewrite'.
51
+ #
52
+ # Example rewrite actions:
53
+ #
54
+ # - Convert JavaScript function to class
55
+ # - Add or remove parameter
56
+ # - Encapsulate field
57
+ # - Make method static
58
+ # - Move method to base class
59
+ # - ...
60
+ #
61
+ REFACTOR_REWRITE = 'refactor.rewrite'
62
+ #
63
+ # Base kind for source actions: `source`.
64
+ #
65
+ # Source code actions apply to the entire file.
66
+ #
67
+ SOURCE = 'source'
68
+ #
69
+ # Base kind for an organize imports source action: `source.organizeImports`.
70
+ #
71
+ SOURCE_ORGANIZE_IMPORTS = 'source.organizeImports'
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,16 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ #
5
+ # Completion item tags are extra annotations that tweak the rendering of a completion
6
+ # item.
7
+ #
8
+ module CompletionItemTag
9
+ #
10
+ # Render a completion as obsolete, usually using a strike-out.
11
+ #
12
+ DEPRECATED = 1
13
+ end
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,24 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ #
5
+ # The diagnostic tags.
6
+ #
7
+ module DiagnosticTag
8
+ #
9
+ # Unused or unnecessary code.
10
+ #
11
+ # Clients are allowed to render diagnostics with this tag faded out instead of having
12
+ # an error squiggle.
13
+ #
14
+ UNNECESSARY = 1
15
+ #
16
+ # Deprecated or obsolete code.
17
+ #
18
+ # Clients are allowed to rendered diagnostics with this tag strike through.
19
+ #
20
+ DEPRECATED = 2
21
+ end
22
+ end
23
+ end
24
+ end
@@ -12,6 +12,7 @@ module LanguageServer
12
12
  SERVER_NOT_INITIALIZED = -32002
13
13
  UNKNOWN_ERROR_CODE = -32001
14
14
  REQUEST_CANCELLED = -32800
15
+ CONTENT_MODIFIED = -32801
15
16
  end
16
17
  end
17
18
  end
@@ -0,0 +1,29 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ module FailureHandlingKind
5
+ #
6
+ # Applying the workspace change is simply aborted if one of the changes provided
7
+ # fails. All operations executed before the failing operation stay executed.
8
+ #
9
+ ABORT = 'abort'
10
+ #
11
+ # All operations are executed transactional. That means they either all
12
+ # succeed or no changes at all are applied to the workspace.
13
+ #
14
+ TRANSACTIONAL = 'transactional'
15
+ #
16
+ # If the workspace edit contains only textual file changes they are executed transactional.
17
+ # If resource changes (create, rename or delete file) are part of the change the failure
18
+ # handling strategy is abort.
19
+ #
20
+ TEXT_ONLY_TRANSACTIONAL = 'textOnlyTransactional'
21
+ #
22
+ # The client tries to undo the operations already executed. But there is no
23
+ # guarantee that this is succeeding.
24
+ #
25
+ UNDO = 'undo'
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,23 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ #
5
+ # The kind of resource operations supported by the client.
6
+ #
7
+ module ResourceOperationKind
8
+ #
9
+ # Supports creating new files and folders.
10
+ #
11
+ CREATE = 'create'
12
+ #
13
+ # Supports renaming existing files and folders.
14
+ #
15
+ RENAME = 'rename'
16
+ #
17
+ # Supports deleting existing files and folders.
18
+ #
19
+ DELETE = 'delete'
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ module LanguageServer
2
+ module Protocol
3
+ module Constant
4
+ #
5
+ # How a signature help was triggered.
6
+ #
7
+ module SignatureHelpTriggerKind
8
+ #
9
+ # Signature help was invoked manually by the user or by a command.
10
+ #
11
+ INVOKED = 1
12
+ #
13
+ # Signature help was triggered by a trigger character.
14
+ #
15
+ TRIGGER_CHARACTER = 2
16
+ #
17
+ # Signature help was triggered by the cursor moving or by the document content changing.
18
+ #
19
+ CONTENT_CHANGE = 3
20
+ end
21
+ end
22
+ end
23
+ end
@@ -3,6 +3,7 @@ module LanguageServer
3
3
  module Constant
4
4
  #
5
5
  # Defines how the host (editor) should sync document changes to the language server.
6
+ # Defines how the host (editor) should sync document changes to the language server.
6
7
  #
7
8
  module TextDocumentSyncKind
8
9
  #
@@ -5,9 +5,14 @@ module LanguageServer
5
5
  autoload :ApplyWorkspaceEditResponse, "language_server/protocol/interface/apply_workspace_edit_response"
6
6
  autoload :CancelParams, "language_server/protocol/interface/cancel_params"
7
7
  autoload :ClientCapabilities, "language_server/protocol/interface/client_capabilities"
8
+ autoload :CodeAction, "language_server/protocol/interface/code_action"
9
+ autoload :CodeActionClientCapabilities, "language_server/protocol/interface/code_action_client_capabilities"
8
10
  autoload :CodeActionContext, "language_server/protocol/interface/code_action_context"
11
+ autoload :CodeActionOptions, "language_server/protocol/interface/code_action_options"
9
12
  autoload :CodeActionParams, "language_server/protocol/interface/code_action_params"
13
+ autoload :CodeActionRegistrationOptions, "language_server/protocol/interface/code_action_registration_options"
10
14
  autoload :CodeLens, "language_server/protocol/interface/code_lens"
15
+ autoload :CodeLensClientCapabilities, "language_server/protocol/interface/code_lens_client_capabilities"
11
16
  autoload :CodeLensOptions, "language_server/protocol/interface/code_lens_options"
12
17
  autoload :CodeLensParams, "language_server/protocol/interface/code_lens_params"
13
18
  autoload :CodeLensRegistrationOptions, "language_server/protocol/interface/code_lens_registration_options"
@@ -15,8 +20,8 @@ module LanguageServer
15
20
  autoload :ColorInformation, "language_server/protocol/interface/color_information"
16
21
  autoload :ColorPresentation, "language_server/protocol/interface/color_presentation"
17
22
  autoload :ColorPresentationParams, "language_server/protocol/interface/color_presentation_params"
18
- autoload :ColorProviderOptions, "language_server/protocol/interface/color_provider_options"
19
23
  autoload :Command, "language_server/protocol/interface/command"
24
+ autoload :CompletionClientCapabilities, "language_server/protocol/interface/completion_client_capabilities"
20
25
  autoload :CompletionContext, "language_server/protocol/interface/completion_context"
21
26
  autoload :CompletionItem, "language_server/protocol/interface/completion_item"
22
27
  autoload :CompletionList, "language_server/protocol/interface/completion_list"
@@ -25,95 +30,185 @@ module LanguageServer
25
30
  autoload :CompletionRegistrationOptions, "language_server/protocol/interface/completion_registration_options"
26
31
  autoload :ConfigurationItem, "language_server/protocol/interface/configuration_item"
27
32
  autoload :ConfigurationParams, "language_server/protocol/interface/configuration_params"
33
+ autoload :CreateFile, "language_server/protocol/interface/create_file"
34
+ autoload :CreateFileOptions, "language_server/protocol/interface/create_file_options"
35
+ autoload :DeclarationClientCapabilities, "language_server/protocol/interface/declaration_client_capabilities"
36
+ autoload :DeclarationOptions, "language_server/protocol/interface/declaration_options"
37
+ autoload :DeclarationParams, "language_server/protocol/interface/declaration_params"
38
+ autoload :DeclarationRegistrationOptions, "language_server/protocol/interface/declaration_registration_options"
39
+ autoload :DefinitionClientCapabilities, "language_server/protocol/interface/definition_client_capabilities"
40
+ autoload :DefinitionOptions, "language_server/protocol/interface/definition_options"
41
+ autoload :DefinitionParams, "language_server/protocol/interface/definition_params"
42
+ autoload :DefinitionRegistrationOptions, "language_server/protocol/interface/definition_registration_options"
43
+ autoload :DeleteFile, "language_server/protocol/interface/delete_file"
44
+ autoload :DeleteFileOptions, "language_server/protocol/interface/delete_file_options"
28
45
  autoload :Diagnostic, "language_server/protocol/interface/diagnostic"
29
46
  autoload :DiagnosticRelatedInformation, "language_server/protocol/interface/diagnostic_related_information"
47
+ autoload :DidChangeConfigurationClientCapabilities, "language_server/protocol/interface/did_change_configuration_client_capabilities"
30
48
  autoload :DidChangeConfigurationParams, "language_server/protocol/interface/did_change_configuration_params"
31
49
  autoload :DidChangeTextDocumentParams, "language_server/protocol/interface/did_change_text_document_params"
50
+ autoload :DidChangeWatchedFilesClientCapabilities, "language_server/protocol/interface/did_change_watched_files_client_capabilities"
32
51
  autoload :DidChangeWatchedFilesParams, "language_server/protocol/interface/did_change_watched_files_params"
33
52
  autoload :DidChangeWatchedFilesRegistrationOptions, "language_server/protocol/interface/did_change_watched_files_registration_options"
34
53
  autoload :DidChangeWorkspaceFoldersParams, "language_server/protocol/interface/did_change_workspace_folders_params"
35
54
  autoload :DidCloseTextDocumentParams, "language_server/protocol/interface/did_close_text_document_params"
36
55
  autoload :DidOpenTextDocumentParams, "language_server/protocol/interface/did_open_text_document_params"
37
56
  autoload :DidSaveTextDocumentParams, "language_server/protocol/interface/did_save_text_document_params"
57
+ autoload :DocumentColorClientCapabilities, "language_server/protocol/interface/document_color_client_capabilities"
58
+ autoload :DocumentColorOptions, "language_server/protocol/interface/document_color_options"
59
+ autoload :DocumentColorParams, "language_server/protocol/interface/document_color_params"
60
+ autoload :DocumentColorRegistrationOptions, "language_server/protocol/interface/document_color_registration_options"
38
61
  autoload :DocumentFilter, "language_server/protocol/interface/document_filter"
62
+ autoload :DocumentFormattingClientCapabilities, "language_server/protocol/interface/document_formatting_client_capabilities"
63
+ autoload :DocumentFormattingOptions, "language_server/protocol/interface/document_formatting_options"
39
64
  autoload :DocumentFormattingParams, "language_server/protocol/interface/document_formatting_params"
65
+ autoload :DocumentFormattingRegistrationOptions, "language_server/protocol/interface/document_formatting_registration_options"
40
66
  autoload :DocumentHighlight, "language_server/protocol/interface/document_highlight"
67
+ autoload :DocumentHighlightClientCapabilities, "language_server/protocol/interface/document_highlight_client_capabilities"
68
+ autoload :DocumentHighlightOptions, "language_server/protocol/interface/document_highlight_options"
69
+ autoload :DocumentHighlightParams, "language_server/protocol/interface/document_highlight_params"
70
+ autoload :DocumentHighlightRegistrationOptions, "language_server/protocol/interface/document_highlight_registration_options"
41
71
  autoload :DocumentLink, "language_server/protocol/interface/document_link"
72
+ autoload :DocumentLinkClientCapabilities, "language_server/protocol/interface/document_link_client_capabilities"
42
73
  autoload :DocumentLinkOptions, "language_server/protocol/interface/document_link_options"
43
74
  autoload :DocumentLinkParams, "language_server/protocol/interface/document_link_params"
44
75
  autoload :DocumentLinkRegistrationOptions, "language_server/protocol/interface/document_link_registration_options"
76
+ autoload :DocumentOnTypeFormattingClientCapabilities, "language_server/protocol/interface/document_on_type_formatting_client_capabilities"
45
77
  autoload :DocumentOnTypeFormattingOptions, "language_server/protocol/interface/document_on_type_formatting_options"
46
78
  autoload :DocumentOnTypeFormattingParams, "language_server/protocol/interface/document_on_type_formatting_params"
47
79
  autoload :DocumentOnTypeFormattingRegistrationOptions, "language_server/protocol/interface/document_on_type_formatting_registration_options"
80
+ autoload :DocumentRangeFormattingClientCapabilities, "language_server/protocol/interface/document_range_formatting_client_capabilities"
81
+ autoload :DocumentRangeFormattingOptions, "language_server/protocol/interface/document_range_formatting_options"
48
82
  autoload :DocumentRangeFormattingParams, "language_server/protocol/interface/document_range_formatting_params"
83
+ autoload :DocumentRangeFormattingRegistrationOptions, "language_server/protocol/interface/document_range_formatting_registration_options"
84
+ autoload :DocumentSymbol, "language_server/protocol/interface/document_symbol"
85
+ autoload :DocumentSymbolClientCapabilities, "language_server/protocol/interface/document_symbol_client_capabilities"
86
+ autoload :DocumentSymbolOptions, "language_server/protocol/interface/document_symbol_options"
49
87
  autoload :DocumentSymbolParams, "language_server/protocol/interface/document_symbol_params"
88
+ autoload :DocumentSymbolRegistrationOptions, "language_server/protocol/interface/document_symbol_registration_options"
89
+ autoload :ExecuteCommandClientCapabilities, "language_server/protocol/interface/execute_command_client_capabilities"
50
90
  autoload :ExecuteCommandOptions, "language_server/protocol/interface/execute_command_options"
51
91
  autoload :ExecuteCommandParams, "language_server/protocol/interface/execute_command_params"
52
92
  autoload :ExecuteCommandRegistrationOptions, "language_server/protocol/interface/execute_command_registration_options"
53
93
  autoload :FileEvent, "language_server/protocol/interface/file_event"
54
94
  autoload :FileSystemWatcher, "language_server/protocol/interface/file_system_watcher"
95
+ autoload :FoldingRange, "language_server/protocol/interface/folding_range"
96
+ autoload :FoldingRangeClientCapabilities, "language_server/protocol/interface/folding_range_client_capabilities"
97
+ autoload :FoldingRangeOptions, "language_server/protocol/interface/folding_range_options"
98
+ autoload :FoldingRangeParams, "language_server/protocol/interface/folding_range_params"
99
+ autoload :FoldingRangeRegistrationOptions, "language_server/protocol/interface/folding_range_registration_options"
55
100
  autoload :FormattingOptions, "language_server/protocol/interface/formatting_options"
56
101
  autoload :Hover, "language_server/protocol/interface/hover"
102
+ autoload :HoverClientCapabilities, "language_server/protocol/interface/hover_client_capabilities"
103
+ autoload :HoverOptions, "language_server/protocol/interface/hover_options"
104
+ autoload :HoverParams, "language_server/protocol/interface/hover_params"
105
+ autoload :HoverRegistrationOptions, "language_server/protocol/interface/hover_registration_options"
106
+ autoload :ImplementationClientCapabilities, "language_server/protocol/interface/implementation_client_capabilities"
107
+ autoload :ImplementationOptions, "language_server/protocol/interface/implementation_options"
108
+ autoload :ImplementationParams, "language_server/protocol/interface/implementation_params"
109
+ autoload :ImplementationRegistrationOptions, "language_server/protocol/interface/implementation_registration_options"
57
110
  autoload :InitializeError, "language_server/protocol/interface/initialize_error"
58
111
  autoload :InitializeParams, "language_server/protocol/interface/initialize_params"
59
112
  autoload :InitializeResult, "language_server/protocol/interface/initialize_result"
60
113
  autoload :InitializedParams, "language_server/protocol/interface/initialized_params"
61
114
  autoload :Location, "language_server/protocol/interface/location"
115
+ autoload :LocationLink, "language_server/protocol/interface/location_link"
62
116
  autoload :LogMessageParams, "language_server/protocol/interface/log_message_params"
63
117
  autoload :MarkupContent, "language_server/protocol/interface/markup_content"
64
118
  autoload :Message, "language_server/protocol/interface/message"
65
119
  autoload :MessageActionItem, "language_server/protocol/interface/message_action_item"
66
120
  autoload :NotificationMessage, "language_server/protocol/interface/notification_message"
67
121
  autoload :ParameterInformation, "language_server/protocol/interface/parameter_information"
122
+ autoload :PartialResultParams, "language_server/protocol/interface/partial_result_params"
68
123
  autoload :Position, "language_server/protocol/interface/position"
124
+ autoload :PrepareRenameParams, "language_server/protocol/interface/prepare_rename_params"
125
+ autoload :ProgressParams, "language_server/protocol/interface/progress_params"
126
+ autoload :PublishDiagnosticsClientCapabilities, "language_server/protocol/interface/publish_diagnostics_client_capabilities"
69
127
  autoload :PublishDiagnosticsParams, "language_server/protocol/interface/publish_diagnostics_params"
70
128
  autoload :Range, "language_server/protocol/interface/range"
129
+ autoload :ReferenceClientCapabilities, "language_server/protocol/interface/reference_client_capabilities"
71
130
  autoload :ReferenceContext, "language_server/protocol/interface/reference_context"
131
+ autoload :ReferenceOptions, "language_server/protocol/interface/reference_options"
72
132
  autoload :ReferenceParams, "language_server/protocol/interface/reference_params"
133
+ autoload :ReferenceRegistrationOptions, "language_server/protocol/interface/reference_registration_options"
73
134
  autoload :Registration, "language_server/protocol/interface/registration"
74
135
  autoload :RegistrationParams, "language_server/protocol/interface/registration_params"
136
+ autoload :RenameClientCapabilities, "language_server/protocol/interface/rename_client_capabilities"
137
+ autoload :RenameFile, "language_server/protocol/interface/rename_file"
138
+ autoload :RenameFileOptions, "language_server/protocol/interface/rename_file_options"
139
+ autoload :RenameOptions, "language_server/protocol/interface/rename_options"
75
140
  autoload :RenameParams, "language_server/protocol/interface/rename_params"
141
+ autoload :RenameRegistrationOptions, "language_server/protocol/interface/rename_registration_options"
76
142
  autoload :RequestMessage, "language_server/protocol/interface/request_message"
77
143
  autoload :ResponseError, "language_server/protocol/interface/response_error"
78
144
  autoload :ResponseMessage, "language_server/protocol/interface/response_message"
79
145
  autoload :SaveOptions, "language_server/protocol/interface/save_options"
146
+ autoload :SelectionRange, "language_server/protocol/interface/selection_range"
147
+ autoload :SelectionRangeClientCapabilities, "language_server/protocol/interface/selection_range_client_capabilities"
148
+ autoload :SelectionRangeOptions, "language_server/protocol/interface/selection_range_options"
149
+ autoload :SelectionRangeParams, "language_server/protocol/interface/selection_range_params"
150
+ autoload :SelectionRangeRegistrationOptions, "language_server/protocol/interface/selection_range_registration_options"
80
151
  autoload :ServerCapabilities, "language_server/protocol/interface/server_capabilities"
81
152
  autoload :ShowMessageParams, "language_server/protocol/interface/show_message_params"
82
153
  autoload :ShowMessageRequestParams, "language_server/protocol/interface/show_message_request_params"
83
154
  autoload :SignatureHelp, "language_server/protocol/interface/signature_help"
155
+ autoload :SignatureHelpClientCapabilities, "language_server/protocol/interface/signature_help_client_capabilities"
156
+ autoload :SignatureHelpContext, "language_server/protocol/interface/signature_help_context"
84
157
  autoload :SignatureHelpOptions, "language_server/protocol/interface/signature_help_options"
158
+ autoload :SignatureHelpParams, "language_server/protocol/interface/signature_help_params"
85
159
  autoload :SignatureHelpRegistrationOptions, "language_server/protocol/interface/signature_help_registration_options"
86
160
  autoload :SignatureInformation, "language_server/protocol/interface/signature_information"
87
161
  autoload :StaticRegistrationOptions, "language_server/protocol/interface/static_registration_options"
88
162
  autoload :SymbolInformation, "language_server/protocol/interface/symbol_information"
89
163
  autoload :TextDocumentChangeRegistrationOptions, "language_server/protocol/interface/text_document_change_registration_options"
90
164
  autoload :TextDocumentClientCapabilities, "language_server/protocol/interface/text_document_client_capabilities"
91
- autoload :TextDocumentContentChangeEvent, "language_server/protocol/interface/text_document_content_change_event"
92
165
  autoload :TextDocumentEdit, "language_server/protocol/interface/text_document_edit"
93
166
  autoload :TextDocumentIdentifier, "language_server/protocol/interface/text_document_identifier"
94
167
  autoload :TextDocumentItem, "language_server/protocol/interface/text_document_item"
95
168
  autoload :TextDocumentPositionParams, "language_server/protocol/interface/text_document_position_params"
96
169
  autoload :TextDocumentRegistrationOptions, "language_server/protocol/interface/text_document_registration_options"
97
170
  autoload :TextDocumentSaveRegistrationOptions, "language_server/protocol/interface/text_document_save_registration_options"
171
+ autoload :TextDocumentSyncClientCapabilities, "language_server/protocol/interface/text_document_sync_client_capabilities"
172
+ autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
98
173
  autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
99
174
  autoload :TextEdit, "language_server/protocol/interface/text_edit"
175
+ autoload :TypeDefinitionClientCapabilities, "language_server/protocol/interface/type_definition_client_capabilities"
176
+ autoload :TypeDefinitionOptions, "language_server/protocol/interface/type_definition_options"
177
+ autoload :TypeDefinitionParams, "language_server/protocol/interface/type_definition_params"
178
+ autoload :TypeDefinitionRegistrationOptions, "language_server/protocol/interface/type_definition_registration_options"
100
179
  autoload :Unregistration, "language_server/protocol/interface/unregistration"
101
180
  autoload :UnregistrationParams, "language_server/protocol/interface/unregistration_params"
102
181
  autoload :VersionedTextDocumentIdentifier, "language_server/protocol/interface/versioned_text_document_identifier"
103
182
  autoload :WillSaveTextDocumentParams, "language_server/protocol/interface/will_save_text_document_params"
104
- autoload :WorkspaceClientCapabilities, "language_server/protocol/interface/workspace_client_capabilities"
183
+ autoload :WorkDoneProgressBegin, "language_server/protocol/interface/work_done_progress_begin"
184
+ autoload :WorkDoneProgressCancelParams, "language_server/protocol/interface/work_done_progress_cancel_params"
185
+ autoload :WorkDoneProgressCreateParams, "language_server/protocol/interface/work_done_progress_create_params"
186
+ autoload :WorkDoneProgressEnd, "language_server/protocol/interface/work_done_progress_end"
187
+ autoload :WorkDoneProgressOptions, "language_server/protocol/interface/work_done_progress_options"
188
+ autoload :WorkDoneProgressParams, "language_server/protocol/interface/work_done_progress_params"
189
+ autoload :WorkDoneProgressReport, "language_server/protocol/interface/work_done_progress_report"
105
190
  autoload :WorkspaceEdit, "language_server/protocol/interface/workspace_edit"
191
+ autoload :WorkspaceEditClientCapabilities, "language_server/protocol/interface/workspace_edit_client_capabilities"
106
192
  autoload :WorkspaceFolder, "language_server/protocol/interface/workspace_folder"
107
193
  autoload :WorkspaceFoldersChangeEvent, "language_server/protocol/interface/workspace_folders_change_event"
194
+ autoload :WorkspaceFoldersServerCapabilities, "language_server/protocol/interface/workspace_folders_server_capabilities"
195
+ autoload :WorkspaceSymbolClientCapabilities, "language_server/protocol/interface/workspace_symbol_client_capabilities"
196
+ autoload :WorkspaceSymbolOptions, "language_server/protocol/interface/workspace_symbol_options"
108
197
  autoload :WorkspaceSymbolParams, "language_server/protocol/interface/workspace_symbol_params"
198
+ autoload :WorkspaceSymbolRegistrationOptions, "language_server/protocol/interface/workspace_symbol_registration_options"
109
199
 
110
200
  require "language_server/protocol/interface/apply_workspace_edit_params"
111
201
  require "language_server/protocol/interface/apply_workspace_edit_response"
112
202
  require "language_server/protocol/interface/cancel_params"
113
203
  require "language_server/protocol/interface/client_capabilities"
204
+ require "language_server/protocol/interface/code_action"
205
+ require "language_server/protocol/interface/code_action_client_capabilities"
114
206
  require "language_server/protocol/interface/code_action_context"
207
+ require "language_server/protocol/interface/code_action_options"
115
208
  require "language_server/protocol/interface/code_action_params"
209
+ require "language_server/protocol/interface/code_action_registration_options"
116
210
  require "language_server/protocol/interface/code_lens"
211
+ require "language_server/protocol/interface/code_lens_client_capabilities"
117
212
  require "language_server/protocol/interface/code_lens_options"
118
213
  require "language_server/protocol/interface/code_lens_params"
119
214
  require "language_server/protocol/interface/code_lens_registration_options"
@@ -121,8 +216,8 @@ module LanguageServer
121
216
  require "language_server/protocol/interface/color_information"
122
217
  require "language_server/protocol/interface/color_presentation"
123
218
  require "language_server/protocol/interface/color_presentation_params"
124
- require "language_server/protocol/interface/color_provider_options"
125
219
  require "language_server/protocol/interface/command"
220
+ require "language_server/protocol/interface/completion_client_capabilities"
126
221
  require "language_server/protocol/interface/completion_context"
127
222
  require "language_server/protocol/interface/completion_item"
128
223
  require "language_server/protocol/interface/completion_list"
@@ -131,87 +226,172 @@ module LanguageServer
131
226
  require "language_server/protocol/interface/completion_registration_options"
132
227
  require "language_server/protocol/interface/configuration_item"
133
228
  require "language_server/protocol/interface/configuration_params"
229
+ require "language_server/protocol/interface/create_file"
230
+ require "language_server/protocol/interface/create_file_options"
231
+ require "language_server/protocol/interface/declaration_client_capabilities"
232
+ require "language_server/protocol/interface/declaration_options"
233
+ require "language_server/protocol/interface/declaration_params"
234
+ require "language_server/protocol/interface/declaration_registration_options"
235
+ require "language_server/protocol/interface/definition_client_capabilities"
236
+ require "language_server/protocol/interface/definition_options"
237
+ require "language_server/protocol/interface/definition_params"
238
+ require "language_server/protocol/interface/definition_registration_options"
239
+ require "language_server/protocol/interface/delete_file"
240
+ require "language_server/protocol/interface/delete_file_options"
134
241
  require "language_server/protocol/interface/diagnostic"
135
242
  require "language_server/protocol/interface/diagnostic_related_information"
243
+ require "language_server/protocol/interface/did_change_configuration_client_capabilities"
136
244
  require "language_server/protocol/interface/did_change_configuration_params"
137
245
  require "language_server/protocol/interface/did_change_text_document_params"
246
+ require "language_server/protocol/interface/did_change_watched_files_client_capabilities"
138
247
  require "language_server/protocol/interface/did_change_watched_files_params"
139
248
  require "language_server/protocol/interface/did_change_watched_files_registration_options"
140
249
  require "language_server/protocol/interface/did_change_workspace_folders_params"
141
250
  require "language_server/protocol/interface/did_close_text_document_params"
142
251
  require "language_server/protocol/interface/did_open_text_document_params"
143
252
  require "language_server/protocol/interface/did_save_text_document_params"
253
+ require "language_server/protocol/interface/document_color_client_capabilities"
254
+ require "language_server/protocol/interface/document_color_options"
255
+ require "language_server/protocol/interface/document_color_params"
256
+ require "language_server/protocol/interface/document_color_registration_options"
144
257
  require "language_server/protocol/interface/document_filter"
258
+ require "language_server/protocol/interface/document_formatting_client_capabilities"
259
+ require "language_server/protocol/interface/document_formatting_options"
145
260
  require "language_server/protocol/interface/document_formatting_params"
261
+ require "language_server/protocol/interface/document_formatting_registration_options"
146
262
  require "language_server/protocol/interface/document_highlight"
263
+ require "language_server/protocol/interface/document_highlight_client_capabilities"
264
+ require "language_server/protocol/interface/document_highlight_options"
265
+ require "language_server/protocol/interface/document_highlight_params"
266
+ require "language_server/protocol/interface/document_highlight_registration_options"
147
267
  require "language_server/protocol/interface/document_link"
268
+ require "language_server/protocol/interface/document_link_client_capabilities"
148
269
  require "language_server/protocol/interface/document_link_options"
149
270
  require "language_server/protocol/interface/document_link_params"
150
271
  require "language_server/protocol/interface/document_link_registration_options"
272
+ require "language_server/protocol/interface/document_on_type_formatting_client_capabilities"
151
273
  require "language_server/protocol/interface/document_on_type_formatting_options"
152
274
  require "language_server/protocol/interface/document_on_type_formatting_params"
153
275
  require "language_server/protocol/interface/document_on_type_formatting_registration_options"
276
+ require "language_server/protocol/interface/document_range_formatting_client_capabilities"
277
+ require "language_server/protocol/interface/document_range_formatting_options"
154
278
  require "language_server/protocol/interface/document_range_formatting_params"
279
+ require "language_server/protocol/interface/document_range_formatting_registration_options"
280
+ require "language_server/protocol/interface/document_symbol"
281
+ require "language_server/protocol/interface/document_symbol_client_capabilities"
282
+ require "language_server/protocol/interface/document_symbol_options"
155
283
  require "language_server/protocol/interface/document_symbol_params"
284
+ require "language_server/protocol/interface/document_symbol_registration_options"
285
+ require "language_server/protocol/interface/execute_command_client_capabilities"
156
286
  require "language_server/protocol/interface/execute_command_options"
157
287
  require "language_server/protocol/interface/execute_command_params"
158
288
  require "language_server/protocol/interface/execute_command_registration_options"
159
289
  require "language_server/protocol/interface/file_event"
160
290
  require "language_server/protocol/interface/file_system_watcher"
291
+ require "language_server/protocol/interface/folding_range"
292
+ require "language_server/protocol/interface/folding_range_client_capabilities"
293
+ require "language_server/protocol/interface/folding_range_options"
294
+ require "language_server/protocol/interface/folding_range_params"
295
+ require "language_server/protocol/interface/folding_range_registration_options"
161
296
  require "language_server/protocol/interface/formatting_options"
162
297
  require "language_server/protocol/interface/hover"
298
+ require "language_server/protocol/interface/hover_client_capabilities"
299
+ require "language_server/protocol/interface/hover_options"
300
+ require "language_server/protocol/interface/hover_params"
301
+ require "language_server/protocol/interface/hover_registration_options"
302
+ require "language_server/protocol/interface/implementation_client_capabilities"
303
+ require "language_server/protocol/interface/implementation_options"
304
+ require "language_server/protocol/interface/implementation_params"
305
+ require "language_server/protocol/interface/implementation_registration_options"
163
306
  require "language_server/protocol/interface/initialize_error"
164
307
  require "language_server/protocol/interface/initialize_params"
165
308
  require "language_server/protocol/interface/initialize_result"
166
309
  require "language_server/protocol/interface/initialized_params"
167
310
  require "language_server/protocol/interface/location"
311
+ require "language_server/protocol/interface/location_link"
168
312
  require "language_server/protocol/interface/log_message_params"
169
313
  require "language_server/protocol/interface/markup_content"
170
314
  require "language_server/protocol/interface/message"
171
315
  require "language_server/protocol/interface/message_action_item"
172
316
  require "language_server/protocol/interface/notification_message"
173
317
  require "language_server/protocol/interface/parameter_information"
318
+ require "language_server/protocol/interface/partial_result_params"
174
319
  require "language_server/protocol/interface/position"
320
+ require "language_server/protocol/interface/prepare_rename_params"
321
+ require "language_server/protocol/interface/progress_params"
322
+ require "language_server/protocol/interface/publish_diagnostics_client_capabilities"
175
323
  require "language_server/protocol/interface/publish_diagnostics_params"
176
324
  require "language_server/protocol/interface/range"
325
+ require "language_server/protocol/interface/reference_client_capabilities"
177
326
  require "language_server/protocol/interface/reference_context"
327
+ require "language_server/protocol/interface/reference_options"
178
328
  require "language_server/protocol/interface/reference_params"
329
+ require "language_server/protocol/interface/reference_registration_options"
179
330
  require "language_server/protocol/interface/registration"
180
331
  require "language_server/protocol/interface/registration_params"
332
+ require "language_server/protocol/interface/rename_client_capabilities"
333
+ require "language_server/protocol/interface/rename_file"
334
+ require "language_server/protocol/interface/rename_file_options"
335
+ require "language_server/protocol/interface/rename_options"
181
336
  require "language_server/protocol/interface/rename_params"
337
+ require "language_server/protocol/interface/rename_registration_options"
182
338
  require "language_server/protocol/interface/request_message"
183
339
  require "language_server/protocol/interface/response_error"
184
340
  require "language_server/protocol/interface/response_message"
185
341
  require "language_server/protocol/interface/save_options"
342
+ require "language_server/protocol/interface/selection_range"
343
+ require "language_server/protocol/interface/selection_range_client_capabilities"
344
+ require "language_server/protocol/interface/selection_range_options"
345
+ require "language_server/protocol/interface/selection_range_params"
346
+ require "language_server/protocol/interface/selection_range_registration_options"
186
347
  require "language_server/protocol/interface/server_capabilities"
187
348
  require "language_server/protocol/interface/show_message_params"
188
349
  require "language_server/protocol/interface/show_message_request_params"
189
350
  require "language_server/protocol/interface/signature_help"
351
+ require "language_server/protocol/interface/signature_help_client_capabilities"
352
+ require "language_server/protocol/interface/signature_help_context"
190
353
  require "language_server/protocol/interface/signature_help_options"
354
+ require "language_server/protocol/interface/signature_help_params"
191
355
  require "language_server/protocol/interface/signature_help_registration_options"
192
356
  require "language_server/protocol/interface/signature_information"
193
357
  require "language_server/protocol/interface/static_registration_options"
194
358
  require "language_server/protocol/interface/symbol_information"
195
359
  require "language_server/protocol/interface/text_document_change_registration_options"
196
360
  require "language_server/protocol/interface/text_document_client_capabilities"
197
- require "language_server/protocol/interface/text_document_content_change_event"
198
361
  require "language_server/protocol/interface/text_document_edit"
199
362
  require "language_server/protocol/interface/text_document_identifier"
200
363
  require "language_server/protocol/interface/text_document_item"
201
364
  require "language_server/protocol/interface/text_document_position_params"
202
365
  require "language_server/protocol/interface/text_document_registration_options"
203
366
  require "language_server/protocol/interface/text_document_save_registration_options"
367
+ require "language_server/protocol/interface/text_document_sync_client_capabilities"
368
+ require "language_server/protocol/interface/text_document_sync_options"
204
369
  require "language_server/protocol/interface/text_document_sync_options"
205
370
  require "language_server/protocol/interface/text_edit"
371
+ require "language_server/protocol/interface/type_definition_client_capabilities"
372
+ require "language_server/protocol/interface/type_definition_options"
373
+ require "language_server/protocol/interface/type_definition_params"
374
+ require "language_server/protocol/interface/type_definition_registration_options"
206
375
  require "language_server/protocol/interface/unregistration"
207
376
  require "language_server/protocol/interface/unregistration_params"
208
377
  require "language_server/protocol/interface/versioned_text_document_identifier"
209
378
  require "language_server/protocol/interface/will_save_text_document_params"
210
- require "language_server/protocol/interface/workspace_client_capabilities"
379
+ require "language_server/protocol/interface/work_done_progress_begin"
380
+ require "language_server/protocol/interface/work_done_progress_cancel_params"
381
+ require "language_server/protocol/interface/work_done_progress_create_params"
382
+ require "language_server/protocol/interface/work_done_progress_end"
383
+ require "language_server/protocol/interface/work_done_progress_options"
384
+ require "language_server/protocol/interface/work_done_progress_params"
385
+ require "language_server/protocol/interface/work_done_progress_report"
211
386
  require "language_server/protocol/interface/workspace_edit"
387
+ require "language_server/protocol/interface/workspace_edit_client_capabilities"
212
388
  require "language_server/protocol/interface/workspace_folder"
213
389
  require "language_server/protocol/interface/workspace_folders_change_event"
390
+ require "language_server/protocol/interface/workspace_folders_server_capabilities"
391
+ require "language_server/protocol/interface/workspace_symbol_client_capabilities"
392
+ require "language_server/protocol/interface/workspace_symbol_options"
214
393
  require "language_server/protocol/interface/workspace_symbol_params"
394
+ require "language_server/protocol/interface/workspace_symbol_registration_options"
215
395
  end
216
396
  end
217
397
  end