language_server-protocol 3.17.0.0 → 3.17.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/lib/language_server/protocol/constant/code_action_kind.rb +29 -22
  3. data/lib/language_server/protocol/constant/code_action_trigger_kind.rb +0 -2
  4. data/lib/language_server/protocol/constant/completion_item_tag.rb +2 -4
  5. data/lib/language_server/protocol/constant/completion_trigger_kind.rb +3 -2
  6. data/lib/language_server/protocol/constant/diagnostic_severity.rb +0 -3
  7. data/lib/language_server/protocol/constant/diagnostic_tag.rb +2 -4
  8. data/lib/language_server/protocol/constant/document_diagnostic_report_kind.rb +21 -0
  9. data/lib/language_server/protocol/constant/error_codes.rb +42 -16
  10. data/lib/language_server/protocol/constant/failure_handling_kind.rb +10 -9
  11. data/lib/language_server/protocol/constant/file_change_type.rb +1 -1
  12. data/lib/language_server/protocol/constant/file_operation_pattern_kind.rb +2 -4
  13. data/lib/language_server/protocol/constant/folding_range_kind.rb +5 -4
  14. data/lib/language_server/protocol/constant/initialize_error_codes.rb +16 -0
  15. data/lib/language_server/protocol/constant/inlay_hint_kind.rb +0 -2
  16. data/lib/language_server/protocol/constant/insert_text_format.rb +0 -2
  17. data/lib/language_server/protocol/constant/insert_text_mode.rb +0 -2
  18. data/lib/language_server/protocol/constant/markup_kind.rb +2 -2
  19. data/lib/language_server/protocol/constant/message_type.rb +0 -3
  20. data/lib/language_server/protocol/constant/moniker_kind.rb +3 -5
  21. data/lib/language_server/protocol/constant/notebook_cell_kind.rb +0 -2
  22. data/lib/language_server/protocol/constant/position_encoding_kind.rb +5 -5
  23. data/lib/language_server/protocol/constant/prepare_support_default_behavior.rb +1 -1
  24. data/lib/language_server/protocol/constant/resource_operation_kind.rb +6 -3
  25. data/lib/language_server/protocol/constant/semantic_token_modifiers.rb +10 -17
  26. data/lib/language_server/protocol/constant/semantic_token_types.rb +25 -35
  27. data/lib/language_server/protocol/constant/signature_help_trigger_kind.rb +2 -3
  28. data/lib/language_server/protocol/constant/symbol_tag.rb +0 -2
  29. data/lib/language_server/protocol/constant/text_document_save_reason.rb +2 -2
  30. data/lib/language_server/protocol/constant/text_document_sync_kind.rb +3 -3
  31. data/lib/language_server/protocol/constant/token_format.rb +1 -1
  32. data/lib/language_server/protocol/constant/uniqueness_level.rb +5 -7
  33. data/lib/language_server/protocol/constant.rb +6 -4
  34. data/lib/language_server/protocol/interface/annotated_text_edit.rb +10 -12
  35. data/lib/language_server/protocol/interface/apply_workspace_edit_params.rb +1 -4
  36. data/lib/language_server/protocol/interface/apply_workspace_edit_result.rb +6 -10
  37. data/lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb +5 -7
  38. data/lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb +0 -5
  39. data/lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb +11 -16
  40. data/lib/language_server/protocol/interface/call_hierarchy_item.rb +9 -13
  41. data/lib/language_server/protocol/interface/call_hierarchy_options.rb +1 -6
  42. data/lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb +2 -8
  43. data/lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb +11 -16
  44. data/lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb +1 -6
  45. data/lib/language_server/protocol/interface/call_hierarchy_registration_options.rb +5 -10
  46. data/lib/language_server/protocol/interface/cancel_params.rb +1 -1
  47. data/lib/language_server/protocol/interface/change_annotation.rb +2 -4
  48. data/lib/language_server/protocol/interface/client_capabilities.rb +6 -13
  49. data/lib/language_server/protocol/interface/code_action.rb +26 -28
  50. data/lib/language_server/protocol/interface/code_action_client_capabilities.rb +9 -25
  51. data/lib/language_server/protocol/interface/code_action_context.rb +10 -11
  52. data/lib/language_server/protocol/interface/code_action_options.rb +11 -16
  53. data/lib/language_server/protocol/interface/code_action_params.rb +21 -21
  54. data/lib/language_server/protocol/interface/code_action_registration_options.rb +14 -19
  55. data/lib/language_server/protocol/interface/code_description.rb +1 -3
  56. data/lib/language_server/protocol/interface/code_lens.rb +9 -8
  57. data/lib/language_server/protocol/interface/code_lens_client_capabilities.rb +1 -4
  58. data/lib/language_server/protocol/interface/code_lens_options.rb +8 -11
  59. data/lib/language_server/protocol/interface/code_lens_params.rb +14 -17
  60. data/lib/language_server/protocol/interface/code_lens_registration_options.rb +11 -14
  61. data/lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb +1 -4
  62. data/lib/language_server/protocol/interface/color.rb +4 -4
  63. data/lib/language_server/protocol/interface/color_information.rb +0 -3
  64. data/lib/language_server/protocol/interface/color_presentation.rb +9 -8
  65. data/lib/language_server/protocol/interface/color_presentation_params.rb +21 -24
  66. data/lib/language_server/protocol/interface/command.rb +1 -7
  67. data/lib/language_server/protocol/interface/completion_client_capabilities.rb +16 -24
  68. data/lib/language_server/protocol/interface/completion_context.rb +6 -4
  69. data/lib/language_server/protocol/interface/completion_item.rb +50 -61
  70. data/lib/language_server/protocol/interface/completion_item_label_details.rb +8 -8
  71. data/lib/language_server/protocol/interface/completion_list.rb +5 -6
  72. data/lib/language_server/protocol/interface/completion_options.rb +26 -27
  73. data/lib/language_server/protocol/interface/completion_params.rb +16 -18
  74. data/lib/language_server/protocol/interface/completion_registration_options.rb +29 -33
  75. data/lib/language_server/protocol/interface/configuration_item.rb +2 -2
  76. data/lib/language_server/protocol/interface/configuration_params.rb +0 -3
  77. data/lib/language_server/protocol/interface/create_file.rb +4 -6
  78. data/lib/language_server/protocol/interface/create_file_options.rb +2 -2
  79. data/lib/language_server/protocol/interface/create_files_params.rb +2 -4
  80. data/lib/language_server/protocol/interface/declaration_client_capabilities.rb +5 -8
  81. data/lib/language_server/protocol/interface/declaration_options.rb +1 -1
  82. data/lib/language_server/protocol/interface/declaration_params.rb +4 -4
  83. data/lib/language_server/protocol/interface/declaration_registration_options.rb +5 -5
  84. data/lib/language_server/protocol/interface/definition_client_capabilities.rb +2 -7
  85. data/lib/language_server/protocol/interface/definition_options.rb +1 -4
  86. data/lib/language_server/protocol/interface/definition_params.rb +4 -7
  87. data/lib/language_server/protocol/interface/definition_registration_options.rb +4 -7
  88. data/lib/language_server/protocol/interface/delete_file.rb +3 -5
  89. data/lib/language_server/protocol/interface/delete_file_options.rb +2 -2
  90. data/lib/language_server/protocol/interface/delete_files_params.rb +2 -4
  91. data/lib/language_server/protocol/interface/diagnostic.rb +14 -25
  92. data/lib/language_server/protocol/interface/diagnostic_client_capabilities.rb +7 -7
  93. data/lib/language_server/protocol/interface/diagnostic_options.rb +8 -10
  94. data/lib/language_server/protocol/interface/diagnostic_registration_options.rb +12 -14
  95. data/lib/language_server/protocol/interface/diagnostic_related_information.rb +3 -3
  96. data/lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb +0 -2
  97. data/lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb +4 -6
  98. data/lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb +1 -1
  99. data/lib/language_server/protocol/interface/did_change_configuration_params.rb +0 -3
  100. data/lib/language_server/protocol/interface/did_change_notebook_document_params.rb +8 -14
  101. data/lib/language_server/protocol/interface/did_change_text_document_params.rb +11 -12
  102. data/lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb +6 -8
  103. data/lib/language_server/protocol/interface/did_change_watched_files_params.rb +0 -3
  104. data/lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb +1 -1
  105. data/lib/language_server/protocol/interface/did_change_workspace_folders_params.rb +0 -3
  106. data/lib/language_server/protocol/interface/did_close_notebook_document_params.rb +0 -2
  107. data/lib/language_server/protocol/interface/did_close_text_document_params.rb +0 -3
  108. data/lib/language_server/protocol/interface/did_open_notebook_document_params.rb +0 -2
  109. data/lib/language_server/protocol/interface/did_open_text_document_params.rb +0 -3
  110. data/lib/language_server/protocol/interface/did_save_notebook_document_params.rb +0 -2
  111. data/lib/language_server/protocol/interface/did_save_text_document_params.rb +1 -4
  112. data/lib/language_server/protocol/interface/document_color_client_capabilities.rb +2 -4
  113. data/lib/language_server/protocol/interface/document_color_options.rb +1 -1
  114. data/lib/language_server/protocol/interface/document_color_params.rb +14 -17
  115. data/lib/language_server/protocol/interface/document_color_registration_options.rb +11 -11
  116. data/lib/language_server/protocol/interface/document_diagnostic_params.rb +22 -24
  117. data/lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb +1 -3
  118. data/lib/language_server/protocol/interface/document_filter.rb +19 -25
  119. data/lib/language_server/protocol/interface/document_formatting_client_capabilities.rb +1 -4
  120. data/lib/language_server/protocol/interface/document_formatting_options.rb +1 -4
  121. data/lib/language_server/protocol/interface/document_formatting_params.rb +10 -13
  122. data/lib/language_server/protocol/interface/document_formatting_registration_options.rb +4 -7
  123. data/lib/language_server/protocol/interface/document_highlight.rb +2 -2
  124. data/lib/language_server/protocol/interface/document_highlight_client_capabilities.rb +1 -4
  125. data/lib/language_server/protocol/interface/document_highlight_options.rb +1 -4
  126. data/lib/language_server/protocol/interface/document_highlight_params.rb +4 -7
  127. data/lib/language_server/protocol/interface/document_highlight_registration_options.rb +4 -7
  128. data/lib/language_server/protocol/interface/document_link.rb +9 -10
  129. data/lib/language_server/protocol/interface/document_link_client_capabilities.rb +2 -7
  130. data/lib/language_server/protocol/interface/document_link_options.rb +8 -11
  131. data/lib/language_server/protocol/interface/document_link_params.rb +14 -17
  132. data/lib/language_server/protocol/interface/document_link_registration_options.rb +11 -14
  133. data/lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb +1 -4
  134. data/lib/language_server/protocol/interface/document_on_type_formatting_options.rb +1 -4
  135. data/lib/language_server/protocol/interface/document_on_type_formatting_params.rb +0 -3
  136. data/lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb +4 -7
  137. data/lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb +2 -5
  138. data/lib/language_server/protocol/interface/document_range_formatting_options.rb +1 -4
  139. data/lib/language_server/protocol/interface/document_range_formatting_params.rb +10 -13
  140. data/lib/language_server/protocol/interface/document_range_formatting_registration_options.rb +4 -7
  141. data/lib/language_server/protocol/interface/document_symbol.rb +15 -17
  142. data/lib/language_server/protocol/interface/document_symbol_client_capabilities.rb +5 -12
  143. data/lib/language_server/protocol/interface/document_symbol_options.rb +8 -13
  144. data/lib/language_server/protocol/interface/document_symbol_params.rb +14 -17
  145. data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +11 -16
  146. data/lib/language_server/protocol/interface/execute_command_client_capabilities.rb +1 -4
  147. data/lib/language_server/protocol/interface/execute_command_options.rb +7 -10
  148. data/lib/language_server/protocol/interface/execute_command_params.rb +11 -14
  149. data/lib/language_server/protocol/interface/execute_command_registration_options.rb +8 -8
  150. data/lib/language_server/protocol/interface/execution_summary.rb +2 -2
  151. data/lib/language_server/protocol/interface/file_create.rb +0 -2
  152. data/lib/language_server/protocol/interface/file_delete.rb +0 -2
  153. data/lib/language_server/protocol/interface/file_event.rb +3 -3
  154. data/lib/language_server/protocol/interface/file_operation_filter.rb +3 -5
  155. data/lib/language_server/protocol/interface/file_operation_pattern.rb +10 -8
  156. data/lib/language_server/protocol/interface/file_operation_pattern_options.rb +1 -3
  157. data/lib/language_server/protocol/interface/file_operation_registration_options.rb +0 -2
  158. data/lib/language_server/protocol/interface/file_rename.rb +0 -2
  159. data/lib/language_server/protocol/interface/file_system_watcher.rb +3 -4
  160. data/lib/language_server/protocol/interface/folding_range.rb +23 -19
  161. data/lib/language_server/protocol/interface/folding_range_client_capabilities.rb +5 -9
  162. data/lib/language_server/protocol/interface/folding_range_options.rb +1 -1
  163. data/lib/language_server/protocol/interface/folding_range_params.rb +14 -17
  164. data/lib/language_server/protocol/interface/folding_range_registration_options.rb +5 -5
  165. data/lib/language_server/protocol/interface/formatting_options.rb +4 -10
  166. data/lib/language_server/protocol/interface/full_document_diagnostic_report.rb +2 -4
  167. data/lib/language_server/protocol/interface/hover.rb +3 -3
  168. data/lib/language_server/protocol/interface/hover_client_capabilities.rb +5 -4
  169. data/lib/language_server/protocol/interface/hover_options.rb +1 -4
  170. data/lib/language_server/protocol/interface/hover_params.rb +1 -4
  171. data/lib/language_server/protocol/interface/hover_registration_options.rb +4 -7
  172. data/lib/language_server/protocol/interface/{t.rb → hover_result.rb} +8 -2
  173. data/lib/language_server/protocol/interface/implementation_client_capabilities.rb +5 -10
  174. data/lib/language_server/protocol/interface/implementation_options.rb +1 -1
  175. data/lib/language_server/protocol/interface/implementation_params.rb +4 -4
  176. data/lib/language_server/protocol/interface/implementation_registration_options.rb +5 -5
  177. data/lib/language_server/protocol/interface/initialize_error.rb +0 -4
  178. data/lib/language_server/protocol/interface/initialize_params.rb +29 -41
  179. data/lib/language_server/protocol/interface/initialize_result.rb +1 -6
  180. data/lib/language_server/protocol/interface/inlay_hint.rb +13 -9
  181. data/lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb +3 -5
  182. data/lib/language_server/protocol/interface/inlay_hint_label_part.rb +3 -5
  183. data/lib/language_server/protocol/interface/inlay_hint_options.rb +8 -10
  184. data/lib/language_server/protocol/interface/inlay_hint_params.rb +11 -13
  185. data/lib/language_server/protocol/interface/inlay_hint_registration_options.rb +12 -14
  186. data/lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb +1 -3
  187. data/lib/language_server/protocol/interface/inline_value_client_capabilities.rb +3 -4
  188. data/lib/language_server/protocol/interface/inline_value_context.rb +3 -5
  189. data/lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb +7 -5
  190. data/lib/language_server/protocol/interface/inline_value_options.rb +1 -3
  191. data/lib/language_server/protocol/interface/inline_value_params.rb +10 -12
  192. data/lib/language_server/protocol/interface/inline_value_registration_options.rb +5 -7
  193. data/lib/language_server/protocol/interface/inline_value_text.rb +0 -2
  194. data/lib/language_server/protocol/interface/inline_value_variable_lookup.rb +7 -5
  195. data/lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb +5 -7
  196. data/lib/language_server/protocol/interface/insert_replace_edit.rb +0 -2
  197. data/lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb +4 -8
  198. data/lib/language_server/protocol/interface/linked_editing_range_options.rb +1 -1
  199. data/lib/language_server/protocol/interface/linked_editing_range_params.rb +1 -1
  200. data/lib/language_server/protocol/interface/linked_editing_range_registration_options.rb +5 -5
  201. data/lib/language_server/protocol/interface/linked_editing_ranges.rb +7 -11
  202. data/lib/language_server/protocol/interface/location.rb +1 -5
  203. data/lib/language_server/protocol/interface/location_link.rb +11 -13
  204. data/lib/language_server/protocol/interface/log_message_params.rb +1 -4
  205. data/lib/language_server/protocol/interface/log_trace_params.rb +8 -1
  206. data/lib/language_server/protocol/interface/markup_content.rb +18 -16
  207. data/lib/language_server/protocol/interface/{lsp_object.rb → message.rb} +8 -6
  208. data/lib/language_server/protocol/interface/moniker.rb +1 -3
  209. data/lib/language_server/protocol/interface/moniker_client_capabilities.rb +5 -9
  210. data/lib/language_server/protocol/interface/moniker_options.rb +1 -1
  211. data/lib/language_server/protocol/interface/moniker_params.rb +4 -4
  212. data/lib/language_server/protocol/interface/moniker_registration_options.rb +4 -4
  213. data/lib/language_server/protocol/interface/notebook_cell.rb +4 -8
  214. data/lib/language_server/protocol/interface/notebook_cell_array_change.rb +4 -6
  215. data/lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb +1 -3
  216. data/lib/language_server/protocol/interface/notebook_document.rb +4 -8
  217. data/lib/language_server/protocol/interface/notebook_document_change_event.rb +2 -6
  218. data/lib/language_server/protocol/interface/notebook_document_client_capabilities.rb +0 -4
  219. data/lib/language_server/protocol/interface/notebook_document_filter.rb +32 -11
  220. data/lib/language_server/protocol/interface/notebook_document_identifier.rb +2 -4
  221. data/lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb +2 -4
  222. data/lib/language_server/protocol/interface/notebook_document_sync_options.rb +3 -5
  223. data/lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb +3 -5
  224. data/lib/language_server/protocol/interface/notification_message.rb +48 -0
  225. data/lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb +18 -17
  226. data/lib/language_server/protocol/interface/parameter_information.rb +9 -7
  227. data/lib/language_server/protocol/interface/partial_result_params.rb +3 -3
  228. data/lib/language_server/protocol/interface/position.rb +6 -40
  229. data/lib/language_server/protocol/interface/prepare_rename_params.rb +1 -1
  230. data/lib/language_server/protocol/interface/previous_result_id.rb +1 -3
  231. data/lib/language_server/protocol/interface/progress_params.rb +1 -1
  232. data/lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb +5 -16
  233. data/lib/language_server/protocol/interface/publish_diagnostics_params.rb +4 -8
  234. data/lib/language_server/protocol/interface/range.rb +0 -13
  235. data/lib/language_server/protocol/interface/reference_client_capabilities.rb +1 -4
  236. data/lib/language_server/protocol/interface/reference_context.rb +0 -4
  237. data/lib/language_server/protocol/interface/reference_options.rb +1 -4
  238. data/lib/language_server/protocol/interface/reference_params.rb +11 -14
  239. data/lib/language_server/protocol/interface/reference_registration_options.rb +4 -7
  240. data/lib/language_server/protocol/interface/registration.rb +2 -2
  241. data/lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb +1 -3
  242. data/lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb +16 -20
  243. data/lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb +15 -19
  244. data/lib/language_server/protocol/interface/relative_pattern.rb +2 -4
  245. data/lib/language_server/protocol/interface/rename_client_capabilities.rb +7 -12
  246. data/lib/language_server/protocol/interface/rename_file.rb +4 -6
  247. data/lib/language_server/protocol/interface/rename_file_options.rb +2 -2
  248. data/lib/language_server/protocol/interface/rename_files_params.rb +4 -6
  249. data/lib/language_server/protocol/interface/rename_options.rb +8 -13
  250. data/lib/language_server/protocol/interface/rename_params.rb +12 -15
  251. data/lib/language_server/protocol/interface/rename_registration_options.rb +11 -16
  252. data/lib/language_server/protocol/interface/request_message.rb +57 -0
  253. data/lib/language_server/protocol/interface/response_error.rb +52 -0
  254. data/lib/language_server/protocol/interface/response_message.rb +58 -0
  255. data/lib/language_server/protocol/interface/save_options.rb +1 -4
  256. data/lib/language_server/protocol/interface/selection_range.rb +3 -6
  257. data/lib/language_server/protocol/interface/selection_range_client_capabilities.rb +5 -4
  258. data/lib/language_server/protocol/interface/selection_range_options.rb +1 -1
  259. data/lib/language_server/protocol/interface/selection_range_params.rb +20 -23
  260. data/lib/language_server/protocol/interface/selection_range_registration_options.rb +5 -5
  261. data/lib/language_server/protocol/interface/semantic_tokens.rb +2 -5
  262. data/lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb +13 -19
  263. data/lib/language_server/protocol/interface/semantic_tokens_delta.rb +3 -5
  264. data/lib/language_server/protocol/interface/semantic_tokens_delta_params.rb +21 -24
  265. data/lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb +0 -3
  266. data/lib/language_server/protocol/interface/semantic_tokens_edit.rb +3 -6
  267. data/lib/language_server/protocol/interface/semantic_tokens_legend.rb +0 -3
  268. data/lib/language_server/protocol/interface/semantic_tokens_options.rb +9 -12
  269. data/lib/language_server/protocol/interface/semantic_tokens_params.rb +14 -17
  270. data/lib/language_server/protocol/interface/semantic_tokens_partial_result.rb +1 -4
  271. data/lib/language_server/protocol/interface/semantic_tokens_range_params.rb +20 -23
  272. data/lib/language_server/protocol/interface/semantic_tokens_registration_options.rb +13 -16
  273. data/lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb +2 -5
  274. data/lib/language_server/protocol/interface/server_capabilities.rb +66 -89
  275. data/lib/language_server/protocol/interface/set_trace_params.rb +4 -1
  276. data/lib/language_server/protocol/interface/show_document_client_capabilities.rb +2 -4
  277. data/lib/language_server/protocol/interface/show_document_params.rb +4 -6
  278. data/lib/language_server/protocol/interface/show_document_result.rb +1 -3
  279. data/lib/language_server/protocol/interface/show_message_params.rb +1 -4
  280. data/lib/language_server/protocol/interface/show_message_request_client_capabilities.rb +1 -1
  281. data/lib/language_server/protocol/interface/show_message_request_params.rb +2 -2
  282. data/lib/language_server/protocol/interface/signature_help.rb +6 -5
  283. data/lib/language_server/protocol/interface/signature_help_client_capabilities.rb +3 -8
  284. data/lib/language_server/protocol/interface/signature_help_context.rb +11 -10
  285. data/lib/language_server/protocol/interface/signature_help_options.rb +14 -17
  286. data/lib/language_server/protocol/interface/signature_help_params.rb +13 -17
  287. data/lib/language_server/protocol/interface/signature_help_registration_options.rb +17 -20
  288. data/lib/language_server/protocol/interface/signature_information.rb +3 -5
  289. data/lib/language_server/protocol/interface/static_registration_options.rb +2 -3
  290. data/lib/language_server/protocol/interface/symbol_information.rb +29 -33
  291. data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +13 -12
  292. data/lib/language_server/protocol/interface/text_document_client_capabilities.rb +47 -76
  293. data/lib/language_server/protocol/interface/text_document_content_change_event.rb +8 -6
  294. data/lib/language_server/protocol/interface/text_document_edit.rb +1 -10
  295. data/lib/language_server/protocol/interface/text_document_identifier.rb +2 -5
  296. data/lib/language_server/protocol/interface/text_document_item.rb +3 -7
  297. data/lib/language_server/protocol/interface/text_document_position_params.rb +0 -4
  298. data/lib/language_server/protocol/interface/text_document_registration_options.rb +3 -3
  299. data/lib/language_server/protocol/interface/text_document_save_registration_options.rb +4 -7
  300. data/lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb +4 -4
  301. data/lib/language_server/protocol/interface/text_document_sync_options.rb +19 -15
  302. data/lib/language_server/protocol/interface/text_edit.rb +0 -3
  303. data/lib/language_server/protocol/interface/type_definition_client_capabilities.rb +5 -10
  304. data/lib/language_server/protocol/interface/type_definition_options.rb +1 -1
  305. data/lib/language_server/protocol/interface/type_definition_params.rb +4 -4
  306. data/lib/language_server/protocol/interface/type_definition_registration_options.rb +5 -5
  307. data/lib/language_server/protocol/interface/type_hierarchy_item.rb +4 -7
  308. data/lib/language_server/protocol/interface/type_hierarchy_options.rb +1 -6
  309. data/lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb +1 -6
  310. data/lib/language_server/protocol/interface/type_hierarchy_registration_options.rb +5 -10
  311. data/lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb +11 -16
  312. data/lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb +11 -16
  313. data/lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb +1 -3
  314. data/lib/language_server/protocol/interface/unregistration.rb +2 -2
  315. data/lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb +3 -5
  316. data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +13 -13
  317. data/lib/language_server/protocol/interface/will_save_text_document_params.rb +1 -1
  318. data/lib/language_server/protocol/interface/work_done_progress_begin.rb +6 -6
  319. data/lib/language_server/protocol/interface/work_done_progress_end.rb +1 -1
  320. data/lib/language_server/protocol/interface/work_done_progress_options.rb +1 -1
  321. data/lib/language_server/protocol/interface/work_done_progress_params.rb +1 -1
  322. data/lib/language_server/protocol/interface/work_done_progress_report.rb +7 -6
  323. data/lib/language_server/protocol/interface/workspace_diagnostic_params.rb +21 -23
  324. data/lib/language_server/protocol/interface/workspace_diagnostic_report.rb +0 -2
  325. data/lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb +0 -2
  326. data/lib/language_server/protocol/interface/workspace_edit.rb +17 -28
  327. data/lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb +6 -15
  328. data/lib/language_server/protocol/interface/workspace_folder.rb +1 -4
  329. data/lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb +3 -3
  330. data/lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb +22 -24
  331. data/lib/language_server/protocol/interface/workspace_symbol.rb +28 -34
  332. data/lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb +7 -13
  333. data/lib/language_server/protocol/interface/workspace_symbol_options.rb +8 -13
  334. data/lib/language_server/protocol/interface/workspace_symbol_params.rb +16 -16
  335. data/lib/language_server/protocol/interface/workspace_symbol_registration_options.rb +8 -13
  336. data/lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb +21 -23
  337. data/lib/language_server/protocol/interface.rb +16 -38
  338. data/lib/language_server/protocol/version.rb +1 -1
  339. metadata +10 -23
  340. data/lib/language_server/protocol/constant/lsp_error_codes.rb +0 -55
  341. data/lib/language_server/protocol/constant/trace_values.rb +0 -20
  342. data/lib/language_server/protocol/interface/base_symbol_information.rb +0 -68
  343. data/lib/language_server/protocol/interface/did_change_configuration_registration_options.rb +0 -30
  344. data/lib/language_server/protocol/interface/document_diagnostic_report.rb +0 -77
  345. data/lib/language_server/protocol/interface/file_operation_client_capabilities.rb +0 -95
  346. data/lib/language_server/protocol/interface/file_operation_options.rb +0 -83
  347. data/lib/language_server/protocol/interface/general_client_capabilities.rb +0 -91
  348. data/lib/language_server/protocol/interface/glob_pattern.rb +0 -48
  349. data/lib/language_server/protocol/interface/inline_value.rb +0 -78
  350. data/lib/language_server/protocol/interface/markdown_client_capabilities.rb +0 -59
  351. data/lib/language_server/protocol/interface/prepare_rename_result.rb +0 -60
  352. data/lib/language_server/protocol/interface/resource_operation.rb +0 -47
  353. data/lib/language_server/protocol/interface/text_document_filter.rb +0 -69
  354. data/lib/language_server/protocol/interface/type_hierarchy_client_capabilities.rb +0 -38
  355. data/lib/language_server/protocol/interface/window_client_capabilities.rb +0 -63
  356. data/lib/language_server/protocol/interface/workspace_client_capabilities.rb +0 -176
  357. data/lib/language_server/protocol/interface/workspace_document_diagnostic_report.rb +0 -77
  358. data/lib/language_server/protocol/interface/workspace_folders_initialize_params.rb +0 -39
@@ -4,7 +4,6 @@ module LanguageServer
4
4
  autoload :AnnotatedTextEdit, "language_server/protocol/interface/annotated_text_edit"
5
5
  autoload :ApplyWorkspaceEditParams, "language_server/protocol/interface/apply_workspace_edit_params"
6
6
  autoload :ApplyWorkspaceEditResult, "language_server/protocol/interface/apply_workspace_edit_result"
7
- autoload :BaseSymbolInformation, "language_server/protocol/interface/base_symbol_information"
8
7
  autoload :CallHierarchyClientCapabilities, "language_server/protocol/interface/call_hierarchy_client_capabilities"
9
8
  autoload :CallHierarchyIncomingCall, "language_server/protocol/interface/call_hierarchy_incoming_call"
10
9
  autoload :CallHierarchyIncomingCallsParams, "language_server/protocol/interface/call_hierarchy_incoming_calls_params"
@@ -68,7 +67,6 @@ module LanguageServer
68
67
  autoload :DiagnosticWorkspaceClientCapabilities, "language_server/protocol/interface/diagnostic_workspace_client_capabilities"
69
68
  autoload :DidChangeConfigurationClientCapabilities, "language_server/protocol/interface/did_change_configuration_client_capabilities"
70
69
  autoload :DidChangeConfigurationParams, "language_server/protocol/interface/did_change_configuration_params"
71
- autoload :DidChangeConfigurationRegistrationOptions, "language_server/protocol/interface/did_change_configuration_registration_options"
72
70
  autoload :DidChangeNotebookDocumentParams, "language_server/protocol/interface/did_change_notebook_document_params"
73
71
  autoload :DidChangeTextDocumentParams, "language_server/protocol/interface/did_change_text_document_params"
74
72
  autoload :DidChangeWatchedFilesClientCapabilities, "language_server/protocol/interface/did_change_watched_files_client_capabilities"
@@ -86,7 +84,6 @@ module LanguageServer
86
84
  autoload :DocumentColorParams, "language_server/protocol/interface/document_color_params"
87
85
  autoload :DocumentColorRegistrationOptions, "language_server/protocol/interface/document_color_registration_options"
88
86
  autoload :DocumentDiagnosticParams, "language_server/protocol/interface/document_diagnostic_params"
89
- autoload :DocumentDiagnosticReport, "language_server/protocol/interface/document_diagnostic_report"
90
87
  autoload :DocumentDiagnosticReportPartialResult, "language_server/protocol/interface/document_diagnostic_report_partial_result"
91
88
  autoload :DocumentFilter, "language_server/protocol/interface/document_filter"
92
89
  autoload :DocumentFormattingClientCapabilities, "language_server/protocol/interface/document_formatting_client_capabilities"
@@ -124,9 +121,7 @@ module LanguageServer
124
121
  autoload :FileCreate, "language_server/protocol/interface/file_create"
125
122
  autoload :FileDelete, "language_server/protocol/interface/file_delete"
126
123
  autoload :FileEvent, "language_server/protocol/interface/file_event"
127
- autoload :FileOperationClientCapabilities, "language_server/protocol/interface/file_operation_client_capabilities"
128
124
  autoload :FileOperationFilter, "language_server/protocol/interface/file_operation_filter"
129
- autoload :FileOperationOptions, "language_server/protocol/interface/file_operation_options"
130
125
  autoload :FileOperationPattern, "language_server/protocol/interface/file_operation_pattern"
131
126
  autoload :FileOperationPatternOptions, "language_server/protocol/interface/file_operation_pattern_options"
132
127
  autoload :FileOperationRegistrationOptions, "language_server/protocol/interface/file_operation_registration_options"
@@ -139,13 +134,13 @@ module LanguageServer
139
134
  autoload :FoldingRangeRegistrationOptions, "language_server/protocol/interface/folding_range_registration_options"
140
135
  autoload :FormattingOptions, "language_server/protocol/interface/formatting_options"
141
136
  autoload :FullDocumentDiagnosticReport, "language_server/protocol/interface/full_document_diagnostic_report"
142
- autoload :GeneralClientCapabilities, "language_server/protocol/interface/general_client_capabilities"
143
- autoload :GlobPattern, "language_server/protocol/interface/glob_pattern"
144
137
  autoload :Hover, "language_server/protocol/interface/hover"
145
138
  autoload :HoverClientCapabilities, "language_server/protocol/interface/hover_client_capabilities"
146
139
  autoload :HoverOptions, "language_server/protocol/interface/hover_options"
147
140
  autoload :HoverParams, "language_server/protocol/interface/hover_params"
141
+ autoload :HoverParams, "language_server/protocol/interface/hover_params"
148
142
  autoload :HoverRegistrationOptions, "language_server/protocol/interface/hover_registration_options"
143
+ autoload :HoverResult, "language_server/protocol/interface/hover_result"
149
144
  autoload :ImplementationClientCapabilities, "language_server/protocol/interface/implementation_client_capabilities"
150
145
  autoload :ImplementationOptions, "language_server/protocol/interface/implementation_options"
151
146
  autoload :ImplementationParams, "language_server/protocol/interface/implementation_params"
@@ -161,7 +156,6 @@ module LanguageServer
161
156
  autoload :InlayHintParams, "language_server/protocol/interface/inlay_hint_params"
162
157
  autoload :InlayHintRegistrationOptions, "language_server/protocol/interface/inlay_hint_registration_options"
163
158
  autoload :InlayHintWorkspaceClientCapabilities, "language_server/protocol/interface/inlay_hint_workspace_client_capabilities"
164
- autoload :InlineValue, "language_server/protocol/interface/inline_value"
165
159
  autoload :InlineValueClientCapabilities, "language_server/protocol/interface/inline_value_client_capabilities"
166
160
  autoload :InlineValueContext, "language_server/protocol/interface/inline_value_context"
167
161
  autoload :InlineValueEvaluatableExpression, "language_server/protocol/interface/inline_value_evaluatable_expression"
@@ -172,7 +166,6 @@ module LanguageServer
172
166
  autoload :InlineValueVariableLookup, "language_server/protocol/interface/inline_value_variable_lookup"
173
167
  autoload :InlineValueWorkspaceClientCapabilities, "language_server/protocol/interface/inline_value_workspace_client_capabilities"
174
168
  autoload :InsertReplaceEdit, "language_server/protocol/interface/insert_replace_edit"
175
- autoload :LSPObject, "language_server/protocol/interface/lsp_object"
176
169
  autoload :LinkedEditingRangeClientCapabilities, "language_server/protocol/interface/linked_editing_range_client_capabilities"
177
170
  autoload :LinkedEditingRangeOptions, "language_server/protocol/interface/linked_editing_range_options"
178
171
  autoload :LinkedEditingRangeParams, "language_server/protocol/interface/linked_editing_range_params"
@@ -182,8 +175,8 @@ module LanguageServer
182
175
  autoload :LocationLink, "language_server/protocol/interface/location_link"
183
176
  autoload :LogMessageParams, "language_server/protocol/interface/log_message_params"
184
177
  autoload :LogTraceParams, "language_server/protocol/interface/log_trace_params"
185
- autoload :MarkdownClientCapabilities, "language_server/protocol/interface/markdown_client_capabilities"
186
178
  autoload :MarkupContent, "language_server/protocol/interface/markup_content"
179
+ autoload :Message, "language_server/protocol/interface/message"
187
180
  autoload :MessageActionItem, "language_server/protocol/interface/message_action_item"
188
181
  autoload :Moniker, "language_server/protocol/interface/moniker"
189
182
  autoload :MonikerClientCapabilities, "language_server/protocol/interface/moniker_client_capabilities"
@@ -201,12 +194,12 @@ module LanguageServer
201
194
  autoload :NotebookDocumentSyncClientCapabilities, "language_server/protocol/interface/notebook_document_sync_client_capabilities"
202
195
  autoload :NotebookDocumentSyncOptions, "language_server/protocol/interface/notebook_document_sync_options"
203
196
  autoload :NotebookDocumentSyncRegistrationOptions, "language_server/protocol/interface/notebook_document_sync_registration_options"
197
+ autoload :NotificationMessage, "language_server/protocol/interface/notification_message"
204
198
  autoload :OptionalVersionedTextDocumentIdentifier, "language_server/protocol/interface/optional_versioned_text_document_identifier"
205
199
  autoload :ParameterInformation, "language_server/protocol/interface/parameter_information"
206
200
  autoload :PartialResultParams, "language_server/protocol/interface/partial_result_params"
207
201
  autoload :Position, "language_server/protocol/interface/position"
208
202
  autoload :PrepareRenameParams, "language_server/protocol/interface/prepare_rename_params"
209
- autoload :PrepareRenameResult, "language_server/protocol/interface/prepare_rename_result"
210
203
  autoload :PreviousResultId, "language_server/protocol/interface/previous_result_id"
211
204
  autoload :ProgressParams, "language_server/protocol/interface/progress_params"
212
205
  autoload :PublishDiagnosticsClientCapabilities, "language_server/protocol/interface/publish_diagnostics_client_capabilities"
@@ -230,7 +223,9 @@ module LanguageServer
230
223
  autoload :RenameOptions, "language_server/protocol/interface/rename_options"
231
224
  autoload :RenameParams, "language_server/protocol/interface/rename_params"
232
225
  autoload :RenameRegistrationOptions, "language_server/protocol/interface/rename_registration_options"
233
- autoload :ResourceOperation, "language_server/protocol/interface/resource_operation"
226
+ autoload :RequestMessage, "language_server/protocol/interface/request_message"
227
+ autoload :ResponseError, "language_server/protocol/interface/response_error"
228
+ autoload :ResponseMessage, "language_server/protocol/interface/response_message"
234
229
  autoload :SaveOptions, "language_server/protocol/interface/save_options"
235
230
  autoload :SelectionRange, "language_server/protocol/interface/selection_range"
236
231
  autoload :SelectionRangeClientCapabilities, "language_server/protocol/interface/selection_range_client_capabilities"
@@ -267,12 +262,10 @@ module LanguageServer
267
262
  autoload :SignatureInformation, "language_server/protocol/interface/signature_information"
268
263
  autoload :StaticRegistrationOptions, "language_server/protocol/interface/static_registration_options"
269
264
  autoload :SymbolInformation, "language_server/protocol/interface/symbol_information"
270
- autoload :T, "language_server/protocol/interface/t"
271
265
  autoload :TextDocumentChangeRegistrationOptions, "language_server/protocol/interface/text_document_change_registration_options"
272
266
  autoload :TextDocumentClientCapabilities, "language_server/protocol/interface/text_document_client_capabilities"
273
267
  autoload :TextDocumentContentChangeEvent, "language_server/protocol/interface/text_document_content_change_event"
274
268
  autoload :TextDocumentEdit, "language_server/protocol/interface/text_document_edit"
275
- autoload :TextDocumentFilter, "language_server/protocol/interface/text_document_filter"
276
269
  autoload :TextDocumentIdentifier, "language_server/protocol/interface/text_document_identifier"
277
270
  autoload :TextDocumentItem, "language_server/protocol/interface/text_document_item"
278
271
  autoload :TextDocumentPositionParams, "language_server/protocol/interface/text_document_position_params"
@@ -280,12 +273,12 @@ module LanguageServer
280
273
  autoload :TextDocumentSaveRegistrationOptions, "language_server/protocol/interface/text_document_save_registration_options"
281
274
  autoload :TextDocumentSyncClientCapabilities, "language_server/protocol/interface/text_document_sync_client_capabilities"
282
275
  autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
276
+ autoload :TextDocumentSyncOptions, "language_server/protocol/interface/text_document_sync_options"
283
277
  autoload :TextEdit, "language_server/protocol/interface/text_edit"
284
278
  autoload :TypeDefinitionClientCapabilities, "language_server/protocol/interface/type_definition_client_capabilities"
285
279
  autoload :TypeDefinitionOptions, "language_server/protocol/interface/type_definition_options"
286
280
  autoload :TypeDefinitionParams, "language_server/protocol/interface/type_definition_params"
287
281
  autoload :TypeDefinitionRegistrationOptions, "language_server/protocol/interface/type_definition_registration_options"
288
- autoload :TypeHierarchyClientCapabilities, "language_server/protocol/interface/type_hierarchy_client_capabilities"
289
282
  autoload :TypeHierarchyItem, "language_server/protocol/interface/type_hierarchy_item"
290
283
  autoload :TypeHierarchyOptions, "language_server/protocol/interface/type_hierarchy_options"
291
284
  autoload :TypeHierarchyPrepareParams, "language_server/protocol/interface/type_hierarchy_prepare_params"
@@ -298,7 +291,6 @@ module LanguageServer
298
291
  autoload :VersionedNotebookDocumentIdentifier, "language_server/protocol/interface/versioned_notebook_document_identifier"
299
292
  autoload :VersionedTextDocumentIdentifier, "language_server/protocol/interface/versioned_text_document_identifier"
300
293
  autoload :WillSaveTextDocumentParams, "language_server/protocol/interface/will_save_text_document_params"
301
- autoload :WindowClientCapabilities, "language_server/protocol/interface/window_client_capabilities"
302
294
  autoload :WorkDoneProgressBegin, "language_server/protocol/interface/work_done_progress_begin"
303
295
  autoload :WorkDoneProgressCancelParams, "language_server/protocol/interface/work_done_progress_cancel_params"
304
296
  autoload :WorkDoneProgressCreateParams, "language_server/protocol/interface/work_done_progress_create_params"
@@ -306,16 +298,13 @@ module LanguageServer
306
298
  autoload :WorkDoneProgressOptions, "language_server/protocol/interface/work_done_progress_options"
307
299
  autoload :WorkDoneProgressParams, "language_server/protocol/interface/work_done_progress_params"
308
300
  autoload :WorkDoneProgressReport, "language_server/protocol/interface/work_done_progress_report"
309
- autoload :WorkspaceClientCapabilities, "language_server/protocol/interface/workspace_client_capabilities"
310
301
  autoload :WorkspaceDiagnosticParams, "language_server/protocol/interface/workspace_diagnostic_params"
311
302
  autoload :WorkspaceDiagnosticReport, "language_server/protocol/interface/workspace_diagnostic_report"
312
303
  autoload :WorkspaceDiagnosticReportPartialResult, "language_server/protocol/interface/workspace_diagnostic_report_partial_result"
313
- autoload :WorkspaceDocumentDiagnosticReport, "language_server/protocol/interface/workspace_document_diagnostic_report"
314
304
  autoload :WorkspaceEdit, "language_server/protocol/interface/workspace_edit"
315
305
  autoload :WorkspaceEditClientCapabilities, "language_server/protocol/interface/workspace_edit_client_capabilities"
316
306
  autoload :WorkspaceFolder, "language_server/protocol/interface/workspace_folder"
317
307
  autoload :WorkspaceFoldersChangeEvent, "language_server/protocol/interface/workspace_folders_change_event"
318
- autoload :WorkspaceFoldersInitializeParams, "language_server/protocol/interface/workspace_folders_initialize_params"
319
308
  autoload :WorkspaceFoldersServerCapabilities, "language_server/protocol/interface/workspace_folders_server_capabilities"
320
309
  autoload :WorkspaceFullDocumentDiagnosticReport, "language_server/protocol/interface/workspace_full_document_diagnostic_report"
321
310
  autoload :WorkspaceSymbol, "language_server/protocol/interface/workspace_symbol"
@@ -328,7 +317,6 @@ module LanguageServer
328
317
  require "language_server/protocol/interface/annotated_text_edit"
329
318
  require "language_server/protocol/interface/apply_workspace_edit_params"
330
319
  require "language_server/protocol/interface/apply_workspace_edit_result"
331
- require "language_server/protocol/interface/base_symbol_information"
332
320
  require "language_server/protocol/interface/call_hierarchy_client_capabilities"
333
321
  require "language_server/protocol/interface/call_hierarchy_incoming_call"
334
322
  require "language_server/protocol/interface/call_hierarchy_incoming_calls_params"
@@ -392,7 +380,6 @@ module LanguageServer
392
380
  require "language_server/protocol/interface/diagnostic_workspace_client_capabilities"
393
381
  require "language_server/protocol/interface/did_change_configuration_client_capabilities"
394
382
  require "language_server/protocol/interface/did_change_configuration_params"
395
- require "language_server/protocol/interface/did_change_configuration_registration_options"
396
383
  require "language_server/protocol/interface/did_change_notebook_document_params"
397
384
  require "language_server/protocol/interface/did_change_text_document_params"
398
385
  require "language_server/protocol/interface/did_change_watched_files_client_capabilities"
@@ -410,7 +397,6 @@ module LanguageServer
410
397
  require "language_server/protocol/interface/document_color_params"
411
398
  require "language_server/protocol/interface/document_color_registration_options"
412
399
  require "language_server/protocol/interface/document_diagnostic_params"
413
- require "language_server/protocol/interface/document_diagnostic_report"
414
400
  require "language_server/protocol/interface/document_diagnostic_report_partial_result"
415
401
  require "language_server/protocol/interface/document_filter"
416
402
  require "language_server/protocol/interface/document_formatting_client_capabilities"
@@ -448,9 +434,7 @@ module LanguageServer
448
434
  require "language_server/protocol/interface/file_create"
449
435
  require "language_server/protocol/interface/file_delete"
450
436
  require "language_server/protocol/interface/file_event"
451
- require "language_server/protocol/interface/file_operation_client_capabilities"
452
437
  require "language_server/protocol/interface/file_operation_filter"
453
- require "language_server/protocol/interface/file_operation_options"
454
438
  require "language_server/protocol/interface/file_operation_pattern"
455
439
  require "language_server/protocol/interface/file_operation_pattern_options"
456
440
  require "language_server/protocol/interface/file_operation_registration_options"
@@ -463,13 +447,13 @@ module LanguageServer
463
447
  require "language_server/protocol/interface/folding_range_registration_options"
464
448
  require "language_server/protocol/interface/formatting_options"
465
449
  require "language_server/protocol/interface/full_document_diagnostic_report"
466
- require "language_server/protocol/interface/general_client_capabilities"
467
- require "language_server/protocol/interface/glob_pattern"
468
450
  require "language_server/protocol/interface/hover"
469
451
  require "language_server/protocol/interface/hover_client_capabilities"
470
452
  require "language_server/protocol/interface/hover_options"
471
453
  require "language_server/protocol/interface/hover_params"
454
+ require "language_server/protocol/interface/hover_params"
472
455
  require "language_server/protocol/interface/hover_registration_options"
456
+ require "language_server/protocol/interface/hover_result"
473
457
  require "language_server/protocol/interface/implementation_client_capabilities"
474
458
  require "language_server/protocol/interface/implementation_options"
475
459
  require "language_server/protocol/interface/implementation_params"
@@ -485,7 +469,6 @@ module LanguageServer
485
469
  require "language_server/protocol/interface/inlay_hint_params"
486
470
  require "language_server/protocol/interface/inlay_hint_registration_options"
487
471
  require "language_server/protocol/interface/inlay_hint_workspace_client_capabilities"
488
- require "language_server/protocol/interface/inline_value"
489
472
  require "language_server/protocol/interface/inline_value_client_capabilities"
490
473
  require "language_server/protocol/interface/inline_value_context"
491
474
  require "language_server/protocol/interface/inline_value_evaluatable_expression"
@@ -496,7 +479,6 @@ module LanguageServer
496
479
  require "language_server/protocol/interface/inline_value_variable_lookup"
497
480
  require "language_server/protocol/interface/inline_value_workspace_client_capabilities"
498
481
  require "language_server/protocol/interface/insert_replace_edit"
499
- require "language_server/protocol/interface/lsp_object"
500
482
  require "language_server/protocol/interface/linked_editing_range_client_capabilities"
501
483
  require "language_server/protocol/interface/linked_editing_range_options"
502
484
  require "language_server/protocol/interface/linked_editing_range_params"
@@ -506,8 +488,8 @@ module LanguageServer
506
488
  require "language_server/protocol/interface/location_link"
507
489
  require "language_server/protocol/interface/log_message_params"
508
490
  require "language_server/protocol/interface/log_trace_params"
509
- require "language_server/protocol/interface/markdown_client_capabilities"
510
491
  require "language_server/protocol/interface/markup_content"
492
+ require "language_server/protocol/interface/message"
511
493
  require "language_server/protocol/interface/message_action_item"
512
494
  require "language_server/protocol/interface/moniker"
513
495
  require "language_server/protocol/interface/moniker_client_capabilities"
@@ -525,12 +507,12 @@ module LanguageServer
525
507
  require "language_server/protocol/interface/notebook_document_sync_client_capabilities"
526
508
  require "language_server/protocol/interface/notebook_document_sync_options"
527
509
  require "language_server/protocol/interface/notebook_document_sync_registration_options"
510
+ require "language_server/protocol/interface/notification_message"
528
511
  require "language_server/protocol/interface/optional_versioned_text_document_identifier"
529
512
  require "language_server/protocol/interface/parameter_information"
530
513
  require "language_server/protocol/interface/partial_result_params"
531
514
  require "language_server/protocol/interface/position"
532
515
  require "language_server/protocol/interface/prepare_rename_params"
533
- require "language_server/protocol/interface/prepare_rename_result"
534
516
  require "language_server/protocol/interface/previous_result_id"
535
517
  require "language_server/protocol/interface/progress_params"
536
518
  require "language_server/protocol/interface/publish_diagnostics_client_capabilities"
@@ -554,7 +536,9 @@ module LanguageServer
554
536
  require "language_server/protocol/interface/rename_options"
555
537
  require "language_server/protocol/interface/rename_params"
556
538
  require "language_server/protocol/interface/rename_registration_options"
557
- require "language_server/protocol/interface/resource_operation"
539
+ require "language_server/protocol/interface/request_message"
540
+ require "language_server/protocol/interface/response_error"
541
+ require "language_server/protocol/interface/response_message"
558
542
  require "language_server/protocol/interface/save_options"
559
543
  require "language_server/protocol/interface/selection_range"
560
544
  require "language_server/protocol/interface/selection_range_client_capabilities"
@@ -591,12 +575,10 @@ module LanguageServer
591
575
  require "language_server/protocol/interface/signature_information"
592
576
  require "language_server/protocol/interface/static_registration_options"
593
577
  require "language_server/protocol/interface/symbol_information"
594
- require "language_server/protocol/interface/t"
595
578
  require "language_server/protocol/interface/text_document_change_registration_options"
596
579
  require "language_server/protocol/interface/text_document_client_capabilities"
597
580
  require "language_server/protocol/interface/text_document_content_change_event"
598
581
  require "language_server/protocol/interface/text_document_edit"
599
- require "language_server/protocol/interface/text_document_filter"
600
582
  require "language_server/protocol/interface/text_document_identifier"
601
583
  require "language_server/protocol/interface/text_document_item"
602
584
  require "language_server/protocol/interface/text_document_position_params"
@@ -604,12 +586,12 @@ module LanguageServer
604
586
  require "language_server/protocol/interface/text_document_save_registration_options"
605
587
  require "language_server/protocol/interface/text_document_sync_client_capabilities"
606
588
  require "language_server/protocol/interface/text_document_sync_options"
589
+ require "language_server/protocol/interface/text_document_sync_options"
607
590
  require "language_server/protocol/interface/text_edit"
608
591
  require "language_server/protocol/interface/type_definition_client_capabilities"
609
592
  require "language_server/protocol/interface/type_definition_options"
610
593
  require "language_server/protocol/interface/type_definition_params"
611
594
  require "language_server/protocol/interface/type_definition_registration_options"
612
- require "language_server/protocol/interface/type_hierarchy_client_capabilities"
613
595
  require "language_server/protocol/interface/type_hierarchy_item"
614
596
  require "language_server/protocol/interface/type_hierarchy_options"
615
597
  require "language_server/protocol/interface/type_hierarchy_prepare_params"
@@ -622,7 +604,6 @@ module LanguageServer
622
604
  require "language_server/protocol/interface/versioned_notebook_document_identifier"
623
605
  require "language_server/protocol/interface/versioned_text_document_identifier"
624
606
  require "language_server/protocol/interface/will_save_text_document_params"
625
- require "language_server/protocol/interface/window_client_capabilities"
626
607
  require "language_server/protocol/interface/work_done_progress_begin"
627
608
  require "language_server/protocol/interface/work_done_progress_cancel_params"
628
609
  require "language_server/protocol/interface/work_done_progress_create_params"
@@ -630,16 +611,13 @@ module LanguageServer
630
611
  require "language_server/protocol/interface/work_done_progress_options"
631
612
  require "language_server/protocol/interface/work_done_progress_params"
632
613
  require "language_server/protocol/interface/work_done_progress_report"
633
- require "language_server/protocol/interface/workspace_client_capabilities"
634
614
  require "language_server/protocol/interface/workspace_diagnostic_params"
635
615
  require "language_server/protocol/interface/workspace_diagnostic_report"
636
616
  require "language_server/protocol/interface/workspace_diagnostic_report_partial_result"
637
- require "language_server/protocol/interface/workspace_document_diagnostic_report"
638
617
  require "language_server/protocol/interface/workspace_edit"
639
618
  require "language_server/protocol/interface/workspace_edit_client_capabilities"
640
619
  require "language_server/protocol/interface/workspace_folder"
641
620
  require "language_server/protocol/interface/workspace_folders_change_event"
642
- require "language_server/protocol/interface/workspace_folders_initialize_params"
643
621
  require "language_server/protocol/interface/workspace_folders_server_capabilities"
644
622
  require "language_server/protocol/interface/workspace_full_document_diagnostic_report"
645
623
  require "language_server/protocol/interface/workspace_symbol"
@@ -1,5 +1,5 @@
1
1
  module LanguageServer
2
2
  module Protocol
3
- VERSION = "3.17.0.0"
3
+ VERSION = "3.17.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: language_server-protocol
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.17.0.0
4
+ version: 3.17.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fumiaki MATSUSHIMA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-27 00:00:00.000000000 Z
11
+ date: 2022-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,16 +113,17 @@ files:
113
113
  - lib/language_server/protocol/constant/completion_trigger_kind.rb
114
114
  - lib/language_server/protocol/constant/diagnostic_severity.rb
115
115
  - lib/language_server/protocol/constant/diagnostic_tag.rb
116
+ - lib/language_server/protocol/constant/document_diagnostic_report_kind.rb
116
117
  - lib/language_server/protocol/constant/document_highlight_kind.rb
117
118
  - lib/language_server/protocol/constant/error_codes.rb
118
119
  - lib/language_server/protocol/constant/failure_handling_kind.rb
119
120
  - lib/language_server/protocol/constant/file_change_type.rb
120
121
  - lib/language_server/protocol/constant/file_operation_pattern_kind.rb
121
122
  - lib/language_server/protocol/constant/folding_range_kind.rb
123
+ - lib/language_server/protocol/constant/initialize_error_codes.rb
122
124
  - lib/language_server/protocol/constant/inlay_hint_kind.rb
123
125
  - lib/language_server/protocol/constant/insert_text_format.rb
124
126
  - lib/language_server/protocol/constant/insert_text_mode.rb
125
- - lib/language_server/protocol/constant/lsp_error_codes.rb
126
127
  - lib/language_server/protocol/constant/markup_kind.rb
127
128
  - lib/language_server/protocol/constant/message_type.rb
128
129
  - lib/language_server/protocol/constant/moniker_kind.rb
@@ -138,14 +139,12 @@ files:
138
139
  - lib/language_server/protocol/constant/text_document_save_reason.rb
139
140
  - lib/language_server/protocol/constant/text_document_sync_kind.rb
140
141
  - lib/language_server/protocol/constant/token_format.rb
141
- - lib/language_server/protocol/constant/trace_values.rb
142
142
  - lib/language_server/protocol/constant/uniqueness_level.rb
143
143
  - lib/language_server/protocol/constant/watch_kind.rb
144
144
  - lib/language_server/protocol/interface.rb
145
145
  - lib/language_server/protocol/interface/annotated_text_edit.rb
146
146
  - lib/language_server/protocol/interface/apply_workspace_edit_params.rb
147
147
  - lib/language_server/protocol/interface/apply_workspace_edit_result.rb
148
- - lib/language_server/protocol/interface/base_symbol_information.rb
149
148
  - lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb
150
149
  - lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb
151
150
  - lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb
@@ -209,7 +208,6 @@ files:
209
208
  - lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb
210
209
  - lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb
211
210
  - lib/language_server/protocol/interface/did_change_configuration_params.rb
212
- - lib/language_server/protocol/interface/did_change_configuration_registration_options.rb
213
211
  - lib/language_server/protocol/interface/did_change_notebook_document_params.rb
214
212
  - lib/language_server/protocol/interface/did_change_text_document_params.rb
215
213
  - lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb
@@ -227,7 +225,6 @@ files:
227
225
  - lib/language_server/protocol/interface/document_color_params.rb
228
226
  - lib/language_server/protocol/interface/document_color_registration_options.rb
229
227
  - lib/language_server/protocol/interface/document_diagnostic_params.rb
230
- - lib/language_server/protocol/interface/document_diagnostic_report.rb
231
228
  - lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb
232
229
  - lib/language_server/protocol/interface/document_filter.rb
233
230
  - lib/language_server/protocol/interface/document_formatting_client_capabilities.rb
@@ -265,9 +262,7 @@ files:
265
262
  - lib/language_server/protocol/interface/file_create.rb
266
263
  - lib/language_server/protocol/interface/file_delete.rb
267
264
  - lib/language_server/protocol/interface/file_event.rb
268
- - lib/language_server/protocol/interface/file_operation_client_capabilities.rb
269
265
  - lib/language_server/protocol/interface/file_operation_filter.rb
270
- - lib/language_server/protocol/interface/file_operation_options.rb
271
266
  - lib/language_server/protocol/interface/file_operation_pattern.rb
272
267
  - lib/language_server/protocol/interface/file_operation_pattern_options.rb
273
268
  - lib/language_server/protocol/interface/file_operation_registration_options.rb
@@ -280,13 +275,12 @@ files:
280
275
  - lib/language_server/protocol/interface/folding_range_registration_options.rb
281
276
  - lib/language_server/protocol/interface/formatting_options.rb
282
277
  - lib/language_server/protocol/interface/full_document_diagnostic_report.rb
283
- - lib/language_server/protocol/interface/general_client_capabilities.rb
284
- - lib/language_server/protocol/interface/glob_pattern.rb
285
278
  - lib/language_server/protocol/interface/hover.rb
286
279
  - lib/language_server/protocol/interface/hover_client_capabilities.rb
287
280
  - lib/language_server/protocol/interface/hover_options.rb
288
281
  - lib/language_server/protocol/interface/hover_params.rb
289
282
  - lib/language_server/protocol/interface/hover_registration_options.rb
283
+ - lib/language_server/protocol/interface/hover_result.rb
290
284
  - lib/language_server/protocol/interface/implementation_client_capabilities.rb
291
285
  - lib/language_server/protocol/interface/implementation_options.rb
292
286
  - lib/language_server/protocol/interface/implementation_params.rb
@@ -302,7 +296,6 @@ files:
302
296
  - lib/language_server/protocol/interface/inlay_hint_params.rb
303
297
  - lib/language_server/protocol/interface/inlay_hint_registration_options.rb
304
298
  - lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb
305
- - lib/language_server/protocol/interface/inline_value.rb
306
299
  - lib/language_server/protocol/interface/inline_value_client_capabilities.rb
307
300
  - lib/language_server/protocol/interface/inline_value_context.rb
308
301
  - lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb
@@ -322,9 +315,8 @@ files:
322
315
  - lib/language_server/protocol/interface/location_link.rb
323
316
  - lib/language_server/protocol/interface/log_message_params.rb
324
317
  - lib/language_server/protocol/interface/log_trace_params.rb
325
- - lib/language_server/protocol/interface/lsp_object.rb
326
- - lib/language_server/protocol/interface/markdown_client_capabilities.rb
327
318
  - lib/language_server/protocol/interface/markup_content.rb
319
+ - lib/language_server/protocol/interface/message.rb
328
320
  - lib/language_server/protocol/interface/message_action_item.rb
329
321
  - lib/language_server/protocol/interface/moniker.rb
330
322
  - lib/language_server/protocol/interface/moniker_client_capabilities.rb
@@ -342,12 +334,12 @@ files:
342
334
  - lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb
343
335
  - lib/language_server/protocol/interface/notebook_document_sync_options.rb
344
336
  - lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb
337
+ - lib/language_server/protocol/interface/notification_message.rb
345
338
  - lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb
346
339
  - lib/language_server/protocol/interface/parameter_information.rb
347
340
  - lib/language_server/protocol/interface/partial_result_params.rb
348
341
  - lib/language_server/protocol/interface/position.rb
349
342
  - lib/language_server/protocol/interface/prepare_rename_params.rb
350
- - lib/language_server/protocol/interface/prepare_rename_result.rb
351
343
  - lib/language_server/protocol/interface/previous_result_id.rb
352
344
  - lib/language_server/protocol/interface/progress_params.rb
353
345
  - lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb
@@ -371,7 +363,9 @@ files:
371
363
  - lib/language_server/protocol/interface/rename_options.rb
372
364
  - lib/language_server/protocol/interface/rename_params.rb
373
365
  - lib/language_server/protocol/interface/rename_registration_options.rb
374
- - lib/language_server/protocol/interface/resource_operation.rb
366
+ - lib/language_server/protocol/interface/request_message.rb
367
+ - lib/language_server/protocol/interface/response_error.rb
368
+ - lib/language_server/protocol/interface/response_message.rb
375
369
  - lib/language_server/protocol/interface/save_options.rb
376
370
  - lib/language_server/protocol/interface/selection_range.rb
377
371
  - lib/language_server/protocol/interface/selection_range_client_capabilities.rb
@@ -408,12 +402,10 @@ files:
408
402
  - lib/language_server/protocol/interface/signature_information.rb
409
403
  - lib/language_server/protocol/interface/static_registration_options.rb
410
404
  - lib/language_server/protocol/interface/symbol_information.rb
411
- - lib/language_server/protocol/interface/t.rb
412
405
  - lib/language_server/protocol/interface/text_document_change_registration_options.rb
413
406
  - lib/language_server/protocol/interface/text_document_client_capabilities.rb
414
407
  - lib/language_server/protocol/interface/text_document_content_change_event.rb
415
408
  - lib/language_server/protocol/interface/text_document_edit.rb
416
- - lib/language_server/protocol/interface/text_document_filter.rb
417
409
  - lib/language_server/protocol/interface/text_document_identifier.rb
418
410
  - lib/language_server/protocol/interface/text_document_item.rb
419
411
  - lib/language_server/protocol/interface/text_document_position_params.rb
@@ -426,7 +418,6 @@ files:
426
418
  - lib/language_server/protocol/interface/type_definition_options.rb
427
419
  - lib/language_server/protocol/interface/type_definition_params.rb
428
420
  - lib/language_server/protocol/interface/type_definition_registration_options.rb
429
- - lib/language_server/protocol/interface/type_hierarchy_client_capabilities.rb
430
421
  - lib/language_server/protocol/interface/type_hierarchy_item.rb
431
422
  - lib/language_server/protocol/interface/type_hierarchy_options.rb
432
423
  - lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb
@@ -439,7 +430,6 @@ files:
439
430
  - lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb
440
431
  - lib/language_server/protocol/interface/versioned_text_document_identifier.rb
441
432
  - lib/language_server/protocol/interface/will_save_text_document_params.rb
442
- - lib/language_server/protocol/interface/window_client_capabilities.rb
443
433
  - lib/language_server/protocol/interface/work_done_progress_begin.rb
444
434
  - lib/language_server/protocol/interface/work_done_progress_cancel_params.rb
445
435
  - lib/language_server/protocol/interface/work_done_progress_create_params.rb
@@ -447,16 +437,13 @@ files:
447
437
  - lib/language_server/protocol/interface/work_done_progress_options.rb
448
438
  - lib/language_server/protocol/interface/work_done_progress_params.rb
449
439
  - lib/language_server/protocol/interface/work_done_progress_report.rb
450
- - lib/language_server/protocol/interface/workspace_client_capabilities.rb
451
440
  - lib/language_server/protocol/interface/workspace_diagnostic_params.rb
452
441
  - lib/language_server/protocol/interface/workspace_diagnostic_report.rb
453
442
  - lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb
454
- - lib/language_server/protocol/interface/workspace_document_diagnostic_report.rb
455
443
  - lib/language_server/protocol/interface/workspace_edit.rb
456
444
  - lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb
457
445
  - lib/language_server/protocol/interface/workspace_folder.rb
458
446
  - lib/language_server/protocol/interface/workspace_folders_change_event.rb
459
- - lib/language_server/protocol/interface/workspace_folders_initialize_params.rb
460
447
  - lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb
461
448
  - lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb
462
449
  - lib/language_server/protocol/interface/workspace_symbol.rb
@@ -1,55 +0,0 @@
1
- module LanguageServer
2
- module Protocol
3
- module Constant
4
- module LSPErrorCodes
5
- #
6
- # This is the start range of LSP reserved error codes.
7
- # It doesn't denote a real error code.
8
- #
9
- # @since 3.16.0
10
- #
11
- LSP_RESERVED_ERROR_RANGE_START = -32899
12
- #
13
- # A request failed but it was syntactically correct, e.g the
14
- # method name was known and the parameters were valid. The error
15
- # message should contain human readable information about why
16
- # the request failed.
17
- #
18
- # @since 3.17.0
19
- #
20
- REQUEST_FAILED = -32803
21
- #
22
- # The server cancelled the request. This error code should
23
- # only be used for requests that explicitly support being
24
- # server cancellable.
25
- #
26
- # @since 3.17.0
27
- #
28
- SERVER_CANCELLED = -32802
29
- #
30
- # The server detected that the content of a document got
31
- # modified outside normal conditions. A server should
32
- # NOT send this error code if it detects a content change
33
- # in it unprocessed messages. The result even computed
34
- # on an older state might still be useful for the client.
35
- #
36
- # If a client decides that a result is not of any use anymore
37
- # the client should cancel the request.
38
- #
39
- CONTENT_MODIFIED = -32801
40
- #
41
- # The client has canceled a request and a server as detected
42
- # the cancel.
43
- #
44
- REQUEST_CANCELLED = -32800
45
- #
46
- # This is the end range of LSP reserved error codes.
47
- # It doesn't denote a real error code.
48
- #
49
- # @since 3.16.0
50
- #
51
- LSP_RESERVED_ERROR_RANGE_END = -32800
52
- end
53
- end
54
- end
55
- end
@@ -1,20 +0,0 @@
1
- module LanguageServer
2
- module Protocol
3
- module Constant
4
- module TraceValues
5
- #
6
- # Turn tracing off.
7
- #
8
- OFF = "off"
9
- #
10
- # Trace messages only.
11
- #
12
- MESSAGES = "messages"
13
- #
14
- # Verbose message tracing.
15
- #
16
- VERBOSE = "verbose"
17
- end
18
- end
19
- end
20
- end