language_server-protocol 3.14.0.0 → 3.15.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -1
  3. data/lib/language_server/protocol/constant.rb +8 -0
  4. data/lib/language_server/protocol/constant/code_action_kind.rb +12 -8
  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/signature_help_trigger_kind.rb +23 -0
  8. data/lib/language_server/protocol/constant/text_document_sync_kind.rb +1 -0
  9. data/lib/language_server/protocol/interface.rb +158 -6
  10. data/lib/language_server/protocol/interface/apply_workspace_edit_response.rb +13 -1
  11. data/lib/language_server/protocol/interface/client_capabilities.rb +11 -2
  12. data/lib/language_server/protocol/interface/code_action.rb +14 -1
  13. data/lib/language_server/protocol/interface/code_action_client_capabilities.rb +52 -0
  14. data/lib/language_server/protocol/interface/code_action_context.rb +5 -1
  15. data/lib/language_server/protocol/interface/code_action_options.rb +3 -5
  16. data/lib/language_server/protocol/interface/code_action_params.rb +3 -2
  17. data/lib/language_server/protocol/interface/code_action_registration_options.rb +3 -1
  18. data/lib/language_server/protocol/interface/code_lens_client_capabilities.rb +33 -0
  19. data/lib/language_server/protocol/interface/code_lens_options.rb +3 -5
  20. data/lib/language_server/protocol/interface/code_lens_params.rb +3 -2
  21. data/lib/language_server/protocol/interface/code_lens_registration_options.rb +3 -10
  22. data/lib/language_server/protocol/interface/color_presentation_params.rb +3 -2
  23. data/lib/language_server/protocol/interface/completion_client_capabilities.rb +59 -0
  24. data/lib/language_server/protocol/interface/completion_item.rb +16 -5
  25. data/lib/language_server/protocol/interface/completion_options.rb +33 -11
  26. data/lib/language_server/protocol/interface/completion_params.rb +3 -2
  27. data/lib/language_server/protocol/interface/completion_registration_options.rb +4 -26
  28. data/lib/language_server/protocol/interface/declaration_client_capabilities.rb +44 -0
  29. data/lib/language_server/protocol/interface/declaration_options.rb +25 -0
  30. data/lib/language_server/protocol/interface/declaration_params.rb +25 -0
  31. data/lib/language_server/protocol/interface/{folding_range_provider_options.rb → declaration_registration_options.rb} +3 -5
  32. data/lib/language_server/protocol/interface/definition_client_capabilities.rb +42 -0
  33. data/lib/language_server/protocol/interface/definition_options.rb +25 -0
  34. data/lib/language_server/protocol/interface/definition_params.rb +25 -0
  35. data/lib/language_server/protocol/interface/definition_registration_options.rb +25 -0
  36. data/lib/language_server/protocol/interface/diagnostic.rb +11 -2
  37. data/lib/language_server/protocol/interface/diagnostic_related_information.rb +1 -1
  38. data/lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb +33 -0
  39. data/lib/language_server/protocol/interface/did_change_text_document_params.rb +10 -2
  40. data/lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb +35 -0
  41. data/lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb +1 -1
  42. data/lib/language_server/protocol/interface/document_color_client_capabilities.rb +33 -0
  43. data/lib/language_server/protocol/interface/document_color_options.rb +25 -0
  44. data/lib/language_server/protocol/interface/document_color_params.rb +34 -0
  45. data/lib/language_server/protocol/interface/document_color_registration_options.rb +25 -0
  46. data/lib/language_server/protocol/interface/document_formatting_client_capabilities.rb +33 -0
  47. data/lib/language_server/protocol/interface/document_formatting_options.rb +25 -0
  48. data/lib/language_server/protocol/interface/document_formatting_params.rb +3 -2
  49. data/lib/language_server/protocol/interface/document_formatting_registration_options.rb +25 -0
  50. data/lib/language_server/protocol/interface/document_highlight_client_capabilities.rb +33 -0
  51. data/lib/language_server/protocol/interface/document_highlight_options.rb +25 -0
  52. data/lib/language_server/protocol/interface/document_highlight_params.rb +25 -0
  53. data/lib/language_server/protocol/interface/document_highlight_registration_options.rb +25 -0
  54. data/lib/language_server/protocol/interface/document_link.rb +14 -1
  55. data/lib/language_server/protocol/interface/document_link_client_capabilities.rb +42 -0
  56. data/lib/language_server/protocol/interface/document_link_options.rb +3 -5
  57. data/lib/language_server/protocol/interface/document_link_params.rb +3 -2
  58. data/lib/language_server/protocol/interface/document_link_registration_options.rb +3 -10
  59. data/lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb +33 -0
  60. data/lib/language_server/protocol/interface/document_on_type_formatting_options.rb +0 -3
  61. data/lib/language_server/protocol/interface/document_on_type_formatting_params.rb +1 -17
  62. data/lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb +2 -18
  63. data/lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb +33 -0
  64. data/lib/language_server/protocol/interface/document_range_formatting_options.rb +25 -0
  65. data/lib/language_server/protocol/interface/document_range_formatting_params.rb +3 -2
  66. data/lib/language_server/protocol/interface/document_range_formatting_registration_options.rb +25 -0
  67. data/lib/language_server/protocol/interface/document_symbol.rb +96 -0
  68. data/lib/language_server/protocol/interface/document_symbol_client_capabilities.rb +51 -0
  69. data/lib/language_server/protocol/interface/document_symbol_options.rb +25 -0
  70. data/lib/language_server/protocol/interface/document_symbol_params.rb +3 -2
  71. data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +25 -0
  72. data/lib/language_server/protocol/interface/execute_command_client_capabilities.rb +33 -0
  73. data/lib/language_server/protocol/interface/execute_command_options.rb +3 -5
  74. data/lib/language_server/protocol/interface/execute_command_params.rb +3 -2
  75. data/lib/language_server/protocol/interface/execute_command_registration_options.rb +3 -10
  76. data/lib/language_server/protocol/interface/folding_range.rb +1 -1
  77. data/lib/language_server/protocol/interface/folding_range_client_capabilities.rb +55 -0
  78. data/lib/language_server/protocol/interface/folding_range_options.rb +25 -0
  79. data/lib/language_server/protocol/interface/folding_range_params.rb +3 -2
  80. data/lib/language_server/protocol/interface/{color_provider_options.rb → folding_range_registration_options.rb} +3 -5
  81. data/lib/language_server/protocol/interface/formatting_options.rb +28 -1
  82. data/lib/language_server/protocol/interface/hover_client_capabilities.rb +43 -0
  83. data/lib/language_server/protocol/interface/hover_options.rb +25 -0
  84. data/lib/language_server/protocol/interface/hover_params.rb +25 -0
  85. data/lib/language_server/protocol/interface/hover_registration_options.rb +25 -0
  86. data/lib/language_server/protocol/interface/implementation_client_capabilities.rb +44 -0
  87. data/lib/language_server/protocol/interface/implementation_options.rb +25 -0
  88. data/lib/language_server/protocol/interface/implementation_params.rb +25 -0
  89. data/lib/language_server/protocol/interface/implementation_registration_options.rb +25 -0
  90. data/lib/language_server/protocol/interface/initialize_params.rb +12 -4
  91. data/lib/language_server/protocol/interface/initialize_result.rb +10 -1
  92. data/lib/language_server/protocol/interface/location_link.rb +7 -4
  93. data/lib/language_server/protocol/interface/notification_message.rb +2 -1
  94. data/lib/language_server/protocol/interface/partial_result_params.rb +34 -0
  95. data/lib/language_server/protocol/interface/prepare_rename_params.rb +26 -0
  96. data/lib/language_server/protocol/interface/progress_params.rb +42 -0
  97. data/lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb +53 -0
  98. data/lib/language_server/protocol/interface/publish_diagnostics_params.rb +10 -1
  99. data/lib/language_server/protocol/interface/reference_client_capabilities.rb +33 -0
  100. data/lib/language_server/protocol/interface/reference_options.rb +25 -0
  101. data/lib/language_server/protocol/interface/reference_params.rb +3 -2
  102. data/lib/language_server/protocol/interface/reference_registration_options.rb +25 -0
  103. data/lib/language_server/protocol/interface/rename_client_capabilities.rb +43 -0
  104. data/lib/language_server/protocol/interface/rename_options.rb +3 -5
  105. data/lib/language_server/protocol/interface/rename_params.rb +3 -20
  106. data/lib/language_server/protocol/interface/rename_registration_options.rb +3 -10
  107. data/lib/language_server/protocol/interface/request_message.rb +2 -1
  108. data/lib/language_server/protocol/interface/response_error.rb +2 -2
  109. data/lib/language_server/protocol/interface/response_message.rb +5 -4
  110. data/lib/language_server/protocol/interface/save_options.rb +0 -3
  111. data/lib/language_server/protocol/interface/selection_range.rb +42 -0
  112. data/lib/language_server/protocol/interface/selection_range_client_capabilities.rb +35 -0
  113. data/lib/language_server/protocol/interface/selection_range_options.rb +25 -0
  114. data/lib/language_server/protocol/interface/selection_range_params.rb +43 -0
  115. data/lib/language_server/protocol/interface/selection_range_registration_options.rb +25 -0
  116. data/lib/language_server/protocol/interface/server_capabilities.rb +66 -56
  117. data/lib/language_server/protocol/interface/signature_help.rb +8 -5
  118. data/lib/language_server/protocol/interface/signature_help_client_capabilities.rb +55 -0
  119. data/lib/language_server/protocol/interface/signature_help_context.rb +71 -0
  120. data/lib/language_server/protocol/interface/signature_help_options.rb +15 -5
  121. data/lib/language_server/protocol/interface/signature_help_params.rb +35 -0
  122. data/lib/language_server/protocol/interface/signature_help_registration_options.rb +4 -11
  123. data/lib/language_server/protocol/interface/symbol_information.rb +1 -1
  124. data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +2 -1
  125. data/lib/language_server/protocol/interface/text_document_client_capabilities.rb +87 -87
  126. data/lib/language_server/protocol/interface/text_document_content_change_event.rb +8 -4
  127. data/lib/language_server/protocol/interface/text_document_registration_options.rb +3 -0
  128. data/lib/language_server/protocol/interface/text_document_save_registration_options.rb +1 -0
  129. data/lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb +62 -0
  130. data/lib/language_server/protocol/interface/text_document_sync_options.rb +14 -6
  131. data/lib/language_server/protocol/interface/type_definition_client_capabilities.rb +44 -0
  132. data/lib/language_server/protocol/interface/type_definition_options.rb +25 -0
  133. data/lib/language_server/protocol/interface/type_definition_params.rb +25 -0
  134. data/lib/language_server/protocol/interface/type_definition_registration_options.rb +25 -0
  135. data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +2 -1
  136. data/lib/language_server/protocol/interface/work_done_progress_begin.rb +80 -0
  137. data/lib/language_server/protocol/interface/work_done_progress_cancel_params.rb +33 -0
  138. data/lib/language_server/protocol/interface/work_done_progress_create_params.rb +33 -0
  139. data/lib/language_server/protocol/interface/work_done_progress_end.rb +40 -0
  140. data/lib/language_server/protocol/interface/work_done_progress_options.rb +30 -0
  141. data/lib/language_server/protocol/interface/work_done_progress_params.rb +33 -0
  142. data/lib/language_server/protocol/interface/work_done_progress_report.rb +70 -0
  143. data/lib/language_server/protocol/interface/workspace_edit.rb +1 -1
  144. data/lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb +53 -0
  145. data/lib/language_server/protocol/interface/workspace_folder.rb +2 -2
  146. data/lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb +48 -0
  147. data/lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb +42 -0
  148. data/lib/language_server/protocol/interface/workspace_symbol_options.rb +25 -0
  149. data/lib/language_server/protocol/interface/workspace_symbol_params.rb +5 -3
  150. data/lib/language_server/protocol/interface/workspace_symbol_registration_options.rb +25 -0
  151. data/lib/language_server/protocol/transport.rb +1 -0
  152. data/lib/language_server/protocol/transport/io.rb +2 -0
  153. data/lib/language_server/protocol/transport/io/reader.rb +47 -0
  154. data/lib/language_server/protocol/transport/io/writer.rb +34 -0
  155. data/lib/language_server/protocol/transport/stdio/reader.rb +3 -29
  156. data/lib/language_server/protocol/transport/stdio/writer.rb +3 -18
  157. data/lib/language_server/protocol/version.rb +1 -1
  158. metadata +92 -31
  159. data/.gitignore +0 -10
  160. data/.travis.yml +0 -5
  161. data/CHANGELOG.md +0 -21
  162. data/CODE_OF_CONDUCT.md +0 -74
  163. data/Dockerfile-node.development +0 -6
  164. data/Dockerfile.development +0 -24
  165. data/Gemfile +0 -6
  166. data/Rakefile +0 -10
  167. data/bin/console +0 -14
  168. data/bin/generate_files +0 -5
  169. data/bin/m +0 -17
  170. data/bin/setup +0 -6
  171. data/circle.yml +0 -46
  172. data/docker-compose.ci.yml +0 -18
  173. data/docker-compose.override.yml +0 -19
  174. data/docker-compose.yml +0 -45
  175. data/language_server-protocol.gemspec +0 -31
  176. data/lib/language_server/protocol/interface/workspace_client_capabilities.rb +0 -104
  177. data/package.json +0 -10
  178. data/scripts/generateFiles.ts +0 -320
  179. data/yarn.lock +0 -293
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5176de1e7f223ecd27f7b85449a9c0f8ff07405a6cd87fb79f5ca56de532b170
4
- data.tar.gz: 6702521a27fe19bd8c56f94341066ca06c92e47d5f749451c3dddfc7947dbfba
3
+ metadata.gz: 6b5fde92bed345f77036a2567f05660c232a066ce396c4beec567f7d3977d990
4
+ data.tar.gz: dfc01eb518d296736b57711f7ca90429d8eace05e6fe6f7c54db3c3b95f0cd1d
5
5
  SHA512:
6
- metadata.gz: a39910787614a138d310a1d7808124671e79c519322602126a10abcf79571dd3fe7d53e56c117eb13fb6e116f1a87f1463dc7a732c4032139ba54b51c923c8fe
7
- data.tar.gz: 9effbc1ef1149b92d38229561a0b0f1d86d4d80218d4c1bc8901ef5dceab60e0f08780440dc4f2bae0d20a4d2b3e75780be5cfae752441f112d1431a17f4bded
6
+ metadata.gz: 723a69d189e3470e2ed83a6de5be41a4dd66ab91f34bb72b60da52011eafcaa99fe1a8ec0aeb443ef49b038499cf3af7eea9d820c06836ebd78b675f39404bb7
7
+ data.tar.gz: 52da49bc93835dbd23af8661417782382a3342103166fb049eb6ba1e1edb5b0d17333533fe17f109834615a7290cc28c1f2a18c95c61c69ff4a5ba1c6b153ef5
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.
@@ -3,8 +3,10 @@ module LanguageServer
3
3
  module Constant
4
4
  autoload :CodeActionKind, "language_server/protocol/constant/code_action_kind"
5
5
  autoload :CompletionItemKind, "language_server/protocol/constant/completion_item_kind"
6
+ autoload :CompletionItemTag, "language_server/protocol/constant/completion_item_tag"
6
7
  autoload :CompletionTriggerKind, "language_server/protocol/constant/completion_trigger_kind"
7
8
  autoload :DiagnosticSeverity, "language_server/protocol/constant/diagnostic_severity"
9
+ autoload :DiagnosticTag, "language_server/protocol/constant/diagnostic_tag"
8
10
  autoload :DocumentHighlightKind, "language_server/protocol/constant/document_highlight_kind"
9
11
  autoload :ErrorCodes, "language_server/protocol/constant/error_codes"
10
12
  autoload :FailureHandlingKind, "language_server/protocol/constant/failure_handling_kind"
@@ -14,15 +16,19 @@ module LanguageServer
14
16
  autoload :MarkupKind, "language_server/protocol/constant/markup_kind"
15
17
  autoload :MessageType, "language_server/protocol/constant/message_type"
16
18
  autoload :ResourceOperationKind, "language_server/protocol/constant/resource_operation_kind"
19
+ autoload :SignatureHelpTriggerKind, "language_server/protocol/constant/signature_help_trigger_kind"
17
20
  autoload :SymbolKind, "language_server/protocol/constant/symbol_kind"
18
21
  autoload :TextDocumentSaveReason, "language_server/protocol/constant/text_document_save_reason"
19
22
  autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
23
+ autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
20
24
  autoload :WatchKind, "language_server/protocol/constant/watch_kind"
21
25
 
22
26
  require "language_server/protocol/constant/code_action_kind"
23
27
  require "language_server/protocol/constant/completion_item_kind"
28
+ require "language_server/protocol/constant/completion_item_tag"
24
29
  require "language_server/protocol/constant/completion_trigger_kind"
25
30
  require "language_server/protocol/constant/diagnostic_severity"
31
+ require "language_server/protocol/constant/diagnostic_tag"
26
32
  require "language_server/protocol/constant/document_highlight_kind"
27
33
  require "language_server/protocol/constant/error_codes"
28
34
  require "language_server/protocol/constant/failure_handling_kind"
@@ -32,9 +38,11 @@ module LanguageServer
32
38
  require "language_server/protocol/constant/markup_kind"
33
39
  require "language_server/protocol/constant/message_type"
34
40
  require "language_server/protocol/constant/resource_operation_kind"
41
+ require "language_server/protocol/constant/signature_help_trigger_kind"
35
42
  require "language_server/protocol/constant/symbol_kind"
36
43
  require "language_server/protocol/constant/text_document_save_reason"
37
44
  require "language_server/protocol/constant/text_document_sync_kind"
45
+ require "language_server/protocol/constant/text_document_sync_kind"
38
46
  require "language_server/protocol/constant/watch_kind"
39
47
  end
40
48
  end
@@ -8,19 +8,23 @@ module LanguageServer
8
8
  #
9
9
  # The set of kinds is open and client needs to announce the kinds it supports to the server during
10
10
  # initialization.
11
- # A set of predefined code action kinds
11
+ # A set of predefined code action kinds.
12
12
  #
13
13
  module CodeActionKind
14
14
  #
15
- # Base kind for quickfix actions: 'quickfix'
15
+ # Empty kind.
16
+ #
17
+ EMPTY = ''
18
+ #
19
+ # Base kind for quickfix actions: 'quickfix'.
16
20
  #
17
21
  QUICK_FIX = 'quickfix'
18
22
  #
19
- # Base kind for refactoring actions: 'refactor'
23
+ # Base kind for refactoring actions: 'refactor'.
20
24
  #
21
25
  REFACTOR = 'refactor'
22
26
  #
23
- # Base kind for refactoring extraction actions: 'refactor.extract'
27
+ # Base kind for refactoring extraction actions: 'refactor.extract'.
24
28
  #
25
29
  # Example extract actions:
26
30
  #
@@ -32,7 +36,7 @@ module LanguageServer
32
36
  #
33
37
  REFACTOR_EXTRACT = 'refactor.extract'
34
38
  #
35
- # Base kind for refactoring inline actions: 'refactor.inline'
39
+ # Base kind for refactoring inline actions: 'refactor.inline'.
36
40
  #
37
41
  # Example inline actions:
38
42
  #
@@ -43,7 +47,7 @@ module LanguageServer
43
47
  #
44
48
  REFACTOR_INLINE = 'refactor.inline'
45
49
  #
46
- # Base kind for refactoring rewrite actions: 'refactor.rewrite'
50
+ # Base kind for refactoring rewrite actions: 'refactor.rewrite'.
47
51
  #
48
52
  # Example rewrite actions:
49
53
  #
@@ -56,13 +60,13 @@ module LanguageServer
56
60
  #
57
61
  REFACTOR_REWRITE = 'refactor.rewrite'
58
62
  #
59
- # Base kind for source actions: `source`
63
+ # Base kind for source actions: `source`.
60
64
  #
61
65
  # Source code actions apply to the entire file.
62
66
  #
63
67
  SOURCE = 'source'
64
68
  #
65
- # Base kind for an organize imports source action: `source.organizeImports`
69
+ # Base kind for an organize imports source action: `source.organizeImports`.
66
70
  #
67
71
  SOURCE_ORGANIZE_IMPORTS = 'source.organizeImports'
68
72
  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
@@ -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
  #
@@ -6,11 +6,13 @@ module LanguageServer
6
6
  autoload :CancelParams, "language_server/protocol/interface/cancel_params"
7
7
  autoload :ClientCapabilities, "language_server/protocol/interface/client_capabilities"
8
8
  autoload :CodeAction, "language_server/protocol/interface/code_action"
9
+ autoload :CodeActionClientCapabilities, "language_server/protocol/interface/code_action_client_capabilities"
9
10
  autoload :CodeActionContext, "language_server/protocol/interface/code_action_context"
10
11
  autoload :CodeActionOptions, "language_server/protocol/interface/code_action_options"
11
12
  autoload :CodeActionParams, "language_server/protocol/interface/code_action_params"
12
13
  autoload :CodeActionRegistrationOptions, "language_server/protocol/interface/code_action_registration_options"
13
14
  autoload :CodeLens, "language_server/protocol/interface/code_lens"
15
+ autoload :CodeLensClientCapabilities, "language_server/protocol/interface/code_lens_client_capabilities"
14
16
  autoload :CodeLensOptions, "language_server/protocol/interface/code_lens_options"
15
17
  autoload :CodeLensParams, "language_server/protocol/interface/code_lens_params"
16
18
  autoload :CodeLensRegistrationOptions, "language_server/protocol/interface/code_lens_registration_options"
@@ -18,8 +20,8 @@ module LanguageServer
18
20
  autoload :ColorInformation, "language_server/protocol/interface/color_information"
19
21
  autoload :ColorPresentation, "language_server/protocol/interface/color_presentation"
20
22
  autoload :ColorPresentationParams, "language_server/protocol/interface/color_presentation_params"
21
- autoload :ColorProviderOptions, "language_server/protocol/interface/color_provider_options"
22
23
  autoload :Command, "language_server/protocol/interface/command"
24
+ autoload :CompletionClientCapabilities, "language_server/protocol/interface/completion_client_capabilities"
23
25
  autoload :CompletionContext, "language_server/protocol/interface/completion_context"
24
26
  autoload :CompletionItem, "language_server/protocol/interface/completion_item"
25
27
  autoload :CompletionList, "language_server/protocol/interface/completion_list"
@@ -30,40 +32,81 @@ module LanguageServer
30
32
  autoload :ConfigurationParams, "language_server/protocol/interface/configuration_params"
31
33
  autoload :CreateFile, "language_server/protocol/interface/create_file"
32
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"
33
43
  autoload :DeleteFile, "language_server/protocol/interface/delete_file"
34
44
  autoload :DeleteFileOptions, "language_server/protocol/interface/delete_file_options"
35
45
  autoload :Diagnostic, "language_server/protocol/interface/diagnostic"
36
46
  autoload :DiagnosticRelatedInformation, "language_server/protocol/interface/diagnostic_related_information"
47
+ autoload :DidChangeConfigurationClientCapabilities, "language_server/protocol/interface/did_change_configuration_client_capabilities"
37
48
  autoload :DidChangeConfigurationParams, "language_server/protocol/interface/did_change_configuration_params"
38
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"
39
51
  autoload :DidChangeWatchedFilesParams, "language_server/protocol/interface/did_change_watched_files_params"
40
52
  autoload :DidChangeWatchedFilesRegistrationOptions, "language_server/protocol/interface/did_change_watched_files_registration_options"
41
53
  autoload :DidChangeWorkspaceFoldersParams, "language_server/protocol/interface/did_change_workspace_folders_params"
42
54
  autoload :DidCloseTextDocumentParams, "language_server/protocol/interface/did_close_text_document_params"
43
55
  autoload :DidOpenTextDocumentParams, "language_server/protocol/interface/did_open_text_document_params"
44
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"
45
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"
46
64
  autoload :DocumentFormattingParams, "language_server/protocol/interface/document_formatting_params"
65
+ autoload :DocumentFormattingRegistrationOptions, "language_server/protocol/interface/document_formatting_registration_options"
47
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"
48
71
  autoload :DocumentLink, "language_server/protocol/interface/document_link"
72
+ autoload :DocumentLinkClientCapabilities, "language_server/protocol/interface/document_link_client_capabilities"
49
73
  autoload :DocumentLinkOptions, "language_server/protocol/interface/document_link_options"
50
74
  autoload :DocumentLinkParams, "language_server/protocol/interface/document_link_params"
51
75
  autoload :DocumentLinkRegistrationOptions, "language_server/protocol/interface/document_link_registration_options"
76
+ autoload :DocumentOnTypeFormattingClientCapabilities, "language_server/protocol/interface/document_on_type_formatting_client_capabilities"
52
77
  autoload :DocumentOnTypeFormattingOptions, "language_server/protocol/interface/document_on_type_formatting_options"
53
78
  autoload :DocumentOnTypeFormattingParams, "language_server/protocol/interface/document_on_type_formatting_params"
54
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"
55
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"
56
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"
57
90
  autoload :ExecuteCommandOptions, "language_server/protocol/interface/execute_command_options"
58
91
  autoload :ExecuteCommandParams, "language_server/protocol/interface/execute_command_params"
59
92
  autoload :ExecuteCommandRegistrationOptions, "language_server/protocol/interface/execute_command_registration_options"
60
93
  autoload :FileEvent, "language_server/protocol/interface/file_event"
61
94
  autoload :FileSystemWatcher, "language_server/protocol/interface/file_system_watcher"
62
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"
63
98
  autoload :FoldingRangeParams, "language_server/protocol/interface/folding_range_params"
64
- autoload :FoldingRangeProviderOptions, "language_server/protocol/interface/folding_range_provider_options"
99
+ autoload :FoldingRangeRegistrationOptions, "language_server/protocol/interface/folding_range_registration_options"
65
100
  autoload :FormattingOptions, "language_server/protocol/interface/formatting_options"
66
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"
67
110
  autoload :InitializeError, "language_server/protocol/interface/initialize_error"
68
111
  autoload :InitializeParams, "language_server/protocol/interface/initialize_params"
69
112
  autoload :InitializeResult, "language_server/protocol/interface/initialize_result"
@@ -76,13 +119,21 @@ module LanguageServer
76
119
  autoload :MessageActionItem, "language_server/protocol/interface/message_action_item"
77
120
  autoload :NotificationMessage, "language_server/protocol/interface/notification_message"
78
121
  autoload :ParameterInformation, "language_server/protocol/interface/parameter_information"
122
+ autoload :PartialResultParams, "language_server/protocol/interface/partial_result_params"
79
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"
80
127
  autoload :PublishDiagnosticsParams, "language_server/protocol/interface/publish_diagnostics_params"
81
128
  autoload :Range, "language_server/protocol/interface/range"
129
+ autoload :ReferenceClientCapabilities, "language_server/protocol/interface/reference_client_capabilities"
82
130
  autoload :ReferenceContext, "language_server/protocol/interface/reference_context"
131
+ autoload :ReferenceOptions, "language_server/protocol/interface/reference_options"
83
132
  autoload :ReferenceParams, "language_server/protocol/interface/reference_params"
133
+ autoload :ReferenceRegistrationOptions, "language_server/protocol/interface/reference_registration_options"
84
134
  autoload :Registration, "language_server/protocol/interface/registration"
85
135
  autoload :RegistrationParams, "language_server/protocol/interface/registration_params"
136
+ autoload :RenameClientCapabilities, "language_server/protocol/interface/rename_client_capabilities"
86
137
  autoload :RenameFile, "language_server/protocol/interface/rename_file"
87
138
  autoload :RenameFileOptions, "language_server/protocol/interface/rename_file_options"
88
139
  autoload :RenameOptions, "language_server/protocol/interface/rename_options"
@@ -92,11 +143,19 @@ module LanguageServer
92
143
  autoload :ResponseError, "language_server/protocol/interface/response_error"
93
144
  autoload :ResponseMessage, "language_server/protocol/interface/response_message"
94
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"
95
151
  autoload :ServerCapabilities, "language_server/protocol/interface/server_capabilities"
96
152
  autoload :ShowMessageParams, "language_server/protocol/interface/show_message_params"
97
153
  autoload :ShowMessageRequestParams, "language_server/protocol/interface/show_message_request_params"
98
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"
99
157
  autoload :SignatureHelpOptions, "language_server/protocol/interface/signature_help_options"
158
+ autoload :SignatureHelpParams, "language_server/protocol/interface/signature_help_params"
100
159
  autoload :SignatureHelpRegistrationOptions, "language_server/protocol/interface/signature_help_registration_options"
101
160
  autoload :SignatureInformation, "language_server/protocol/interface/signature_information"
102
161
  autoload :StaticRegistrationOptions, "language_server/protocol/interface/static_registration_options"
@@ -110,28 +169,47 @@ module LanguageServer
110
169
  autoload :TextDocumentPositionParams, "language_server/protocol/interface/text_document_position_params"
111
170
  autoload :TextDocumentRegistrationOptions, "language_server/protocol/interface/text_document_registration_options"
112
171
  autoload :TextDocumentSaveRegistrationOptions, "language_server/protocol/interface/text_document_save_registration_options"
172
+ autoload :TextDocumentSyncClientCapabilities, "language_server/protocol/interface/text_document_sync_client_capabilities"
173
+ autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
113
174
  autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
114
175
  autoload :TextEdit, "language_server/protocol/interface/text_edit"
176
+ autoload :TypeDefinitionClientCapabilities, "language_server/protocol/interface/type_definition_client_capabilities"
177
+ autoload :TypeDefinitionOptions, "language_server/protocol/interface/type_definition_options"
178
+ autoload :TypeDefinitionParams, "language_server/protocol/interface/type_definition_params"
179
+ autoload :TypeDefinitionRegistrationOptions, "language_server/protocol/interface/type_definition_registration_options"
115
180
  autoload :Unregistration, "language_server/protocol/interface/unregistration"
116
181
  autoload :UnregistrationParams, "language_server/protocol/interface/unregistration_params"
117
182
  autoload :VersionedTextDocumentIdentifier, "language_server/protocol/interface/versioned_text_document_identifier"
118
183
  autoload :WillSaveTextDocumentParams, "language_server/protocol/interface/will_save_text_document_params"
119
- autoload :WorkspaceClientCapabilities, "language_server/protocol/interface/workspace_client_capabilities"
184
+ autoload :WorkDoneProgressBegin, "language_server/protocol/interface/work_done_progress_begin"
185
+ autoload :WorkDoneProgressCancelParams, "language_server/protocol/interface/work_done_progress_cancel_params"
186
+ autoload :WorkDoneProgressCreateParams, "language_server/protocol/interface/work_done_progress_create_params"
187
+ autoload :WorkDoneProgressEnd, "language_server/protocol/interface/work_done_progress_end"
188
+ autoload :WorkDoneProgressOptions, "language_server/protocol/interface/work_done_progress_options"
189
+ autoload :WorkDoneProgressParams, "language_server/protocol/interface/work_done_progress_params"
190
+ autoload :WorkDoneProgressReport, "language_server/protocol/interface/work_done_progress_report"
120
191
  autoload :WorkspaceEdit, "language_server/protocol/interface/workspace_edit"
192
+ autoload :WorkspaceEditClientCapabilities, "language_server/protocol/interface/workspace_edit_client_capabilities"
121
193
  autoload :WorkspaceFolder, "language_server/protocol/interface/workspace_folder"
122
194
  autoload :WorkspaceFoldersChangeEvent, "language_server/protocol/interface/workspace_folders_change_event"
195
+ autoload :WorkspaceFoldersServerCapabilities, "language_server/protocol/interface/workspace_folders_server_capabilities"
196
+ autoload :WorkspaceSymbolClientCapabilities, "language_server/protocol/interface/workspace_symbol_client_capabilities"
197
+ autoload :WorkspaceSymbolOptions, "language_server/protocol/interface/workspace_symbol_options"
123
198
  autoload :WorkspaceSymbolParams, "language_server/protocol/interface/workspace_symbol_params"
199
+ autoload :WorkspaceSymbolRegistrationOptions, "language_server/protocol/interface/workspace_symbol_registration_options"
124
200
 
125
201
  require "language_server/protocol/interface/apply_workspace_edit_params"
126
202
  require "language_server/protocol/interface/apply_workspace_edit_response"
127
203
  require "language_server/protocol/interface/cancel_params"
128
204
  require "language_server/protocol/interface/client_capabilities"
129
205
  require "language_server/protocol/interface/code_action"
206
+ require "language_server/protocol/interface/code_action_client_capabilities"
130
207
  require "language_server/protocol/interface/code_action_context"
131
208
  require "language_server/protocol/interface/code_action_options"
132
209
  require "language_server/protocol/interface/code_action_params"
133
210
  require "language_server/protocol/interface/code_action_registration_options"
134
211
  require "language_server/protocol/interface/code_lens"
212
+ require "language_server/protocol/interface/code_lens_client_capabilities"
135
213
  require "language_server/protocol/interface/code_lens_options"
136
214
  require "language_server/protocol/interface/code_lens_params"
137
215
  require "language_server/protocol/interface/code_lens_registration_options"
@@ -139,8 +217,8 @@ module LanguageServer
139
217
  require "language_server/protocol/interface/color_information"
140
218
  require "language_server/protocol/interface/color_presentation"
141
219
  require "language_server/protocol/interface/color_presentation_params"
142
- require "language_server/protocol/interface/color_provider_options"
143
220
  require "language_server/protocol/interface/command"
221
+ require "language_server/protocol/interface/completion_client_capabilities"
144
222
  require "language_server/protocol/interface/completion_context"
145
223
  require "language_server/protocol/interface/completion_item"
146
224
  require "language_server/protocol/interface/completion_list"
@@ -151,40 +229,81 @@ module LanguageServer
151
229
  require "language_server/protocol/interface/configuration_params"
152
230
  require "language_server/protocol/interface/create_file"
153
231
  require "language_server/protocol/interface/create_file_options"
232
+ require "language_server/protocol/interface/declaration_client_capabilities"
233
+ require "language_server/protocol/interface/declaration_options"
234
+ require "language_server/protocol/interface/declaration_params"
235
+ require "language_server/protocol/interface/declaration_registration_options"
236
+ require "language_server/protocol/interface/definition_client_capabilities"
237
+ require "language_server/protocol/interface/definition_options"
238
+ require "language_server/protocol/interface/definition_params"
239
+ require "language_server/protocol/interface/definition_registration_options"
154
240
  require "language_server/protocol/interface/delete_file"
155
241
  require "language_server/protocol/interface/delete_file_options"
156
242
  require "language_server/protocol/interface/diagnostic"
157
243
  require "language_server/protocol/interface/diagnostic_related_information"
244
+ require "language_server/protocol/interface/did_change_configuration_client_capabilities"
158
245
  require "language_server/protocol/interface/did_change_configuration_params"
159
246
  require "language_server/protocol/interface/did_change_text_document_params"
247
+ require "language_server/protocol/interface/did_change_watched_files_client_capabilities"
160
248
  require "language_server/protocol/interface/did_change_watched_files_params"
161
249
  require "language_server/protocol/interface/did_change_watched_files_registration_options"
162
250
  require "language_server/protocol/interface/did_change_workspace_folders_params"
163
251
  require "language_server/protocol/interface/did_close_text_document_params"
164
252
  require "language_server/protocol/interface/did_open_text_document_params"
165
253
  require "language_server/protocol/interface/did_save_text_document_params"
254
+ require "language_server/protocol/interface/document_color_client_capabilities"
255
+ require "language_server/protocol/interface/document_color_options"
256
+ require "language_server/protocol/interface/document_color_params"
257
+ require "language_server/protocol/interface/document_color_registration_options"
166
258
  require "language_server/protocol/interface/document_filter"
259
+ require "language_server/protocol/interface/document_formatting_client_capabilities"
260
+ require "language_server/protocol/interface/document_formatting_options"
167
261
  require "language_server/protocol/interface/document_formatting_params"
262
+ require "language_server/protocol/interface/document_formatting_registration_options"
168
263
  require "language_server/protocol/interface/document_highlight"
264
+ require "language_server/protocol/interface/document_highlight_client_capabilities"
265
+ require "language_server/protocol/interface/document_highlight_options"
266
+ require "language_server/protocol/interface/document_highlight_params"
267
+ require "language_server/protocol/interface/document_highlight_registration_options"
169
268
  require "language_server/protocol/interface/document_link"
269
+ require "language_server/protocol/interface/document_link_client_capabilities"
170
270
  require "language_server/protocol/interface/document_link_options"
171
271
  require "language_server/protocol/interface/document_link_params"
172
272
  require "language_server/protocol/interface/document_link_registration_options"
273
+ require "language_server/protocol/interface/document_on_type_formatting_client_capabilities"
173
274
  require "language_server/protocol/interface/document_on_type_formatting_options"
174
275
  require "language_server/protocol/interface/document_on_type_formatting_params"
175
276
  require "language_server/protocol/interface/document_on_type_formatting_registration_options"
277
+ require "language_server/protocol/interface/document_range_formatting_client_capabilities"
278
+ require "language_server/protocol/interface/document_range_formatting_options"
176
279
  require "language_server/protocol/interface/document_range_formatting_params"
280
+ require "language_server/protocol/interface/document_range_formatting_registration_options"
281
+ require "language_server/protocol/interface/document_symbol"
282
+ require "language_server/protocol/interface/document_symbol_client_capabilities"
283
+ require "language_server/protocol/interface/document_symbol_options"
177
284
  require "language_server/protocol/interface/document_symbol_params"
285
+ require "language_server/protocol/interface/document_symbol_registration_options"
286
+ require "language_server/protocol/interface/execute_command_client_capabilities"
178
287
  require "language_server/protocol/interface/execute_command_options"
179
288
  require "language_server/protocol/interface/execute_command_params"
180
289
  require "language_server/protocol/interface/execute_command_registration_options"
181
290
  require "language_server/protocol/interface/file_event"
182
291
  require "language_server/protocol/interface/file_system_watcher"
183
292
  require "language_server/protocol/interface/folding_range"
293
+ require "language_server/protocol/interface/folding_range_client_capabilities"
294
+ require "language_server/protocol/interface/folding_range_options"
184
295
  require "language_server/protocol/interface/folding_range_params"
185
- require "language_server/protocol/interface/folding_range_provider_options"
296
+ require "language_server/protocol/interface/folding_range_registration_options"
186
297
  require "language_server/protocol/interface/formatting_options"
187
298
  require "language_server/protocol/interface/hover"
299
+ require "language_server/protocol/interface/hover_client_capabilities"
300
+ require "language_server/protocol/interface/hover_options"
301
+ require "language_server/protocol/interface/hover_params"
302
+ require "language_server/protocol/interface/hover_registration_options"
303
+ require "language_server/protocol/interface/implementation_client_capabilities"
304
+ require "language_server/protocol/interface/implementation_options"
305
+ require "language_server/protocol/interface/implementation_params"
306
+ require "language_server/protocol/interface/implementation_registration_options"
188
307
  require "language_server/protocol/interface/initialize_error"
189
308
  require "language_server/protocol/interface/initialize_params"
190
309
  require "language_server/protocol/interface/initialize_result"
@@ -197,13 +316,21 @@ module LanguageServer
197
316
  require "language_server/protocol/interface/message_action_item"
198
317
  require "language_server/protocol/interface/notification_message"
199
318
  require "language_server/protocol/interface/parameter_information"
319
+ require "language_server/protocol/interface/partial_result_params"
200
320
  require "language_server/protocol/interface/position"
321
+ require "language_server/protocol/interface/prepare_rename_params"
322
+ require "language_server/protocol/interface/progress_params"
323
+ require "language_server/protocol/interface/publish_diagnostics_client_capabilities"
201
324
  require "language_server/protocol/interface/publish_diagnostics_params"
202
325
  require "language_server/protocol/interface/range"
326
+ require "language_server/protocol/interface/reference_client_capabilities"
203
327
  require "language_server/protocol/interface/reference_context"
328
+ require "language_server/protocol/interface/reference_options"
204
329
  require "language_server/protocol/interface/reference_params"
330
+ require "language_server/protocol/interface/reference_registration_options"
205
331
  require "language_server/protocol/interface/registration"
206
332
  require "language_server/protocol/interface/registration_params"
333
+ require "language_server/protocol/interface/rename_client_capabilities"
207
334
  require "language_server/protocol/interface/rename_file"
208
335
  require "language_server/protocol/interface/rename_file_options"
209
336
  require "language_server/protocol/interface/rename_options"
@@ -213,11 +340,19 @@ module LanguageServer
213
340
  require "language_server/protocol/interface/response_error"
214
341
  require "language_server/protocol/interface/response_message"
215
342
  require "language_server/protocol/interface/save_options"
343
+ require "language_server/protocol/interface/selection_range"
344
+ require "language_server/protocol/interface/selection_range_client_capabilities"
345
+ require "language_server/protocol/interface/selection_range_options"
346
+ require "language_server/protocol/interface/selection_range_params"
347
+ require "language_server/protocol/interface/selection_range_registration_options"
216
348
  require "language_server/protocol/interface/server_capabilities"
217
349
  require "language_server/protocol/interface/show_message_params"
218
350
  require "language_server/protocol/interface/show_message_request_params"
219
351
  require "language_server/protocol/interface/signature_help"
352
+ require "language_server/protocol/interface/signature_help_client_capabilities"
353
+ require "language_server/protocol/interface/signature_help_context"
220
354
  require "language_server/protocol/interface/signature_help_options"
355
+ require "language_server/protocol/interface/signature_help_params"
221
356
  require "language_server/protocol/interface/signature_help_registration_options"
222
357
  require "language_server/protocol/interface/signature_information"
223
358
  require "language_server/protocol/interface/static_registration_options"
@@ -231,17 +366,34 @@ module LanguageServer
231
366
  require "language_server/protocol/interface/text_document_position_params"
232
367
  require "language_server/protocol/interface/text_document_registration_options"
233
368
  require "language_server/protocol/interface/text_document_save_registration_options"
369
+ require "language_server/protocol/interface/text_document_sync_client_capabilities"
370
+ require "language_server/protocol/interface/text_document_sync_options"
234
371
  require "language_server/protocol/interface/text_document_sync_options"
235
372
  require "language_server/protocol/interface/text_edit"
373
+ require "language_server/protocol/interface/type_definition_client_capabilities"
374
+ require "language_server/protocol/interface/type_definition_options"
375
+ require "language_server/protocol/interface/type_definition_params"
376
+ require "language_server/protocol/interface/type_definition_registration_options"
236
377
  require "language_server/protocol/interface/unregistration"
237
378
  require "language_server/protocol/interface/unregistration_params"
238
379
  require "language_server/protocol/interface/versioned_text_document_identifier"
239
380
  require "language_server/protocol/interface/will_save_text_document_params"
240
- require "language_server/protocol/interface/workspace_client_capabilities"
381
+ require "language_server/protocol/interface/work_done_progress_begin"
382
+ require "language_server/protocol/interface/work_done_progress_cancel_params"
383
+ require "language_server/protocol/interface/work_done_progress_create_params"
384
+ require "language_server/protocol/interface/work_done_progress_end"
385
+ require "language_server/protocol/interface/work_done_progress_options"
386
+ require "language_server/protocol/interface/work_done_progress_params"
387
+ require "language_server/protocol/interface/work_done_progress_report"
241
388
  require "language_server/protocol/interface/workspace_edit"
389
+ require "language_server/protocol/interface/workspace_edit_client_capabilities"
242
390
  require "language_server/protocol/interface/workspace_folder"
243
391
  require "language_server/protocol/interface/workspace_folders_change_event"
392
+ require "language_server/protocol/interface/workspace_folders_server_capabilities"
393
+ require "language_server/protocol/interface/workspace_symbol_client_capabilities"
394
+ require "language_server/protocol/interface/workspace_symbol_options"
244
395
  require "language_server/protocol/interface/workspace_symbol_params"
396
+ require "language_server/protocol/interface/workspace_symbol_registration_options"
245
397
  end
246
398
  end
247
399
  end