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.
- checksums.yaml +4 -4
- data/lib/language_server/protocol/constant/code_action_kind.rb +29 -22
- data/lib/language_server/protocol/constant/code_action_trigger_kind.rb +0 -2
- data/lib/language_server/protocol/constant/completion_item_tag.rb +2 -4
- data/lib/language_server/protocol/constant/completion_trigger_kind.rb +3 -2
- data/lib/language_server/protocol/constant/diagnostic_severity.rb +0 -3
- data/lib/language_server/protocol/constant/diagnostic_tag.rb +2 -4
- data/lib/language_server/protocol/constant/document_diagnostic_report_kind.rb +21 -0
- data/lib/language_server/protocol/constant/error_codes.rb +42 -16
- data/lib/language_server/protocol/constant/failure_handling_kind.rb +10 -9
- data/lib/language_server/protocol/constant/file_change_type.rb +1 -1
- data/lib/language_server/protocol/constant/file_operation_pattern_kind.rb +2 -4
- data/lib/language_server/protocol/constant/folding_range_kind.rb +5 -4
- data/lib/language_server/protocol/constant/initialize_error_codes.rb +16 -0
- data/lib/language_server/protocol/constant/inlay_hint_kind.rb +0 -2
- data/lib/language_server/protocol/constant/insert_text_format.rb +0 -2
- data/lib/language_server/protocol/constant/insert_text_mode.rb +0 -2
- data/lib/language_server/protocol/constant/markup_kind.rb +2 -2
- data/lib/language_server/protocol/constant/message_type.rb +0 -3
- data/lib/language_server/protocol/constant/moniker_kind.rb +3 -5
- data/lib/language_server/protocol/constant/notebook_cell_kind.rb +0 -2
- data/lib/language_server/protocol/constant/position_encoding_kind.rb +5 -5
- data/lib/language_server/protocol/constant/prepare_support_default_behavior.rb +1 -1
- data/lib/language_server/protocol/constant/resource_operation_kind.rb +6 -3
- data/lib/language_server/protocol/constant/semantic_token_modifiers.rb +10 -17
- data/lib/language_server/protocol/constant/semantic_token_types.rb +25 -35
- data/lib/language_server/protocol/constant/signature_help_trigger_kind.rb +2 -3
- data/lib/language_server/protocol/constant/symbol_tag.rb +0 -2
- data/lib/language_server/protocol/constant/text_document_save_reason.rb +2 -2
- data/lib/language_server/protocol/constant/text_document_sync_kind.rb +3 -3
- data/lib/language_server/protocol/constant/token_format.rb +1 -1
- data/lib/language_server/protocol/constant/uniqueness_level.rb +5 -7
- data/lib/language_server/protocol/constant.rb +6 -4
- data/lib/language_server/protocol/interface/annotated_text_edit.rb +10 -12
- data/lib/language_server/protocol/interface/apply_workspace_edit_params.rb +1 -4
- data/lib/language_server/protocol/interface/apply_workspace_edit_result.rb +6 -10
- data/lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb +5 -7
- data/lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb +0 -5
- data/lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb +11 -16
- data/lib/language_server/protocol/interface/call_hierarchy_item.rb +9 -13
- data/lib/language_server/protocol/interface/call_hierarchy_options.rb +1 -6
- data/lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb +2 -8
- data/lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb +11 -16
- data/lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb +1 -6
- data/lib/language_server/protocol/interface/call_hierarchy_registration_options.rb +5 -10
- data/lib/language_server/protocol/interface/cancel_params.rb +1 -1
- data/lib/language_server/protocol/interface/change_annotation.rb +2 -4
- data/lib/language_server/protocol/interface/client_capabilities.rb +6 -13
- data/lib/language_server/protocol/interface/code_action.rb +26 -28
- data/lib/language_server/protocol/interface/code_action_client_capabilities.rb +9 -25
- data/lib/language_server/protocol/interface/code_action_context.rb +10 -11
- data/lib/language_server/protocol/interface/code_action_options.rb +11 -16
- data/lib/language_server/protocol/interface/code_action_params.rb +21 -21
- data/lib/language_server/protocol/interface/code_action_registration_options.rb +14 -19
- data/lib/language_server/protocol/interface/code_description.rb +1 -3
- data/lib/language_server/protocol/interface/code_lens.rb +9 -8
- data/lib/language_server/protocol/interface/code_lens_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/code_lens_options.rb +8 -11
- data/lib/language_server/protocol/interface/code_lens_params.rb +14 -17
- data/lib/language_server/protocol/interface/code_lens_registration_options.rb +11 -14
- data/lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/color.rb +4 -4
- data/lib/language_server/protocol/interface/color_information.rb +0 -3
- data/lib/language_server/protocol/interface/color_presentation.rb +9 -8
- data/lib/language_server/protocol/interface/color_presentation_params.rb +21 -24
- data/lib/language_server/protocol/interface/command.rb +1 -7
- data/lib/language_server/protocol/interface/completion_client_capabilities.rb +16 -24
- data/lib/language_server/protocol/interface/completion_context.rb +6 -4
- data/lib/language_server/protocol/interface/completion_item.rb +50 -61
- data/lib/language_server/protocol/interface/completion_item_label_details.rb +8 -8
- data/lib/language_server/protocol/interface/completion_list.rb +5 -6
- data/lib/language_server/protocol/interface/completion_options.rb +26 -27
- data/lib/language_server/protocol/interface/completion_params.rb +16 -18
- data/lib/language_server/protocol/interface/completion_registration_options.rb +29 -33
- data/lib/language_server/protocol/interface/configuration_item.rb +2 -2
- data/lib/language_server/protocol/interface/configuration_params.rb +0 -3
- data/lib/language_server/protocol/interface/create_file.rb +4 -6
- data/lib/language_server/protocol/interface/create_file_options.rb +2 -2
- data/lib/language_server/protocol/interface/create_files_params.rb +2 -4
- data/lib/language_server/protocol/interface/declaration_client_capabilities.rb +5 -8
- data/lib/language_server/protocol/interface/declaration_options.rb +1 -1
- data/lib/language_server/protocol/interface/declaration_params.rb +4 -4
- data/lib/language_server/protocol/interface/declaration_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/definition_client_capabilities.rb +2 -7
- data/lib/language_server/protocol/interface/definition_options.rb +1 -4
- data/lib/language_server/protocol/interface/definition_params.rb +4 -7
- data/lib/language_server/protocol/interface/definition_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/delete_file.rb +3 -5
- data/lib/language_server/protocol/interface/delete_file_options.rb +2 -2
- data/lib/language_server/protocol/interface/delete_files_params.rb +2 -4
- data/lib/language_server/protocol/interface/diagnostic.rb +14 -25
- data/lib/language_server/protocol/interface/diagnostic_client_capabilities.rb +7 -7
- data/lib/language_server/protocol/interface/diagnostic_options.rb +8 -10
- data/lib/language_server/protocol/interface/diagnostic_registration_options.rb +12 -14
- data/lib/language_server/protocol/interface/diagnostic_related_information.rb +3 -3
- data/lib/language_server/protocol/interface/diagnostic_server_cancellation_data.rb +0 -2
- data/lib/language_server/protocol/interface/diagnostic_workspace_client_capabilities.rb +4 -6
- data/lib/language_server/protocol/interface/did_change_configuration_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/did_change_configuration_params.rb +0 -3
- data/lib/language_server/protocol/interface/did_change_notebook_document_params.rb +8 -14
- data/lib/language_server/protocol/interface/did_change_text_document_params.rb +11 -12
- data/lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb +6 -8
- data/lib/language_server/protocol/interface/did_change_watched_files_params.rb +0 -3
- data/lib/language_server/protocol/interface/did_change_watched_files_registration_options.rb +1 -1
- data/lib/language_server/protocol/interface/did_change_workspace_folders_params.rb +0 -3
- data/lib/language_server/protocol/interface/did_close_notebook_document_params.rb +0 -2
- data/lib/language_server/protocol/interface/did_close_text_document_params.rb +0 -3
- data/lib/language_server/protocol/interface/did_open_notebook_document_params.rb +0 -2
- data/lib/language_server/protocol/interface/did_open_text_document_params.rb +0 -3
- data/lib/language_server/protocol/interface/did_save_notebook_document_params.rb +0 -2
- data/lib/language_server/protocol/interface/did_save_text_document_params.rb +1 -4
- data/lib/language_server/protocol/interface/document_color_client_capabilities.rb +2 -4
- data/lib/language_server/protocol/interface/document_color_options.rb +1 -1
- data/lib/language_server/protocol/interface/document_color_params.rb +14 -17
- data/lib/language_server/protocol/interface/document_color_registration_options.rb +11 -11
- data/lib/language_server/protocol/interface/document_diagnostic_params.rb +22 -24
- data/lib/language_server/protocol/interface/document_diagnostic_report_partial_result.rb +1 -3
- data/lib/language_server/protocol/interface/document_filter.rb +19 -25
- data/lib/language_server/protocol/interface/document_formatting_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/document_formatting_options.rb +1 -4
- data/lib/language_server/protocol/interface/document_formatting_params.rb +10 -13
- data/lib/language_server/protocol/interface/document_formatting_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/document_highlight.rb +2 -2
- data/lib/language_server/protocol/interface/document_highlight_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/document_highlight_options.rb +1 -4
- data/lib/language_server/protocol/interface/document_highlight_params.rb +4 -7
- data/lib/language_server/protocol/interface/document_highlight_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/document_link.rb +9 -10
- data/lib/language_server/protocol/interface/document_link_client_capabilities.rb +2 -7
- data/lib/language_server/protocol/interface/document_link_options.rb +8 -11
- data/lib/language_server/protocol/interface/document_link_params.rb +14 -17
- data/lib/language_server/protocol/interface/document_link_registration_options.rb +11 -14
- data/lib/language_server/protocol/interface/document_on_type_formatting_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/document_on_type_formatting_options.rb +1 -4
- data/lib/language_server/protocol/interface/document_on_type_formatting_params.rb +0 -3
- data/lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/document_range_formatting_client_capabilities.rb +2 -5
- data/lib/language_server/protocol/interface/document_range_formatting_options.rb +1 -4
- data/lib/language_server/protocol/interface/document_range_formatting_params.rb +10 -13
- data/lib/language_server/protocol/interface/document_range_formatting_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/document_symbol.rb +15 -17
- data/lib/language_server/protocol/interface/document_symbol_client_capabilities.rb +5 -12
- data/lib/language_server/protocol/interface/document_symbol_options.rb +8 -13
- data/lib/language_server/protocol/interface/document_symbol_params.rb +14 -17
- data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +11 -16
- data/lib/language_server/protocol/interface/execute_command_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/execute_command_options.rb +7 -10
- data/lib/language_server/protocol/interface/execute_command_params.rb +11 -14
- data/lib/language_server/protocol/interface/execute_command_registration_options.rb +8 -8
- data/lib/language_server/protocol/interface/execution_summary.rb +2 -2
- data/lib/language_server/protocol/interface/file_create.rb +0 -2
- data/lib/language_server/protocol/interface/file_delete.rb +0 -2
- data/lib/language_server/protocol/interface/file_event.rb +3 -3
- data/lib/language_server/protocol/interface/file_operation_filter.rb +3 -5
- data/lib/language_server/protocol/interface/file_operation_pattern.rb +10 -8
- data/lib/language_server/protocol/interface/file_operation_pattern_options.rb +1 -3
- data/lib/language_server/protocol/interface/file_operation_registration_options.rb +0 -2
- data/lib/language_server/protocol/interface/file_rename.rb +0 -2
- data/lib/language_server/protocol/interface/file_system_watcher.rb +3 -4
- data/lib/language_server/protocol/interface/folding_range.rb +23 -19
- data/lib/language_server/protocol/interface/folding_range_client_capabilities.rb +5 -9
- data/lib/language_server/protocol/interface/folding_range_options.rb +1 -1
- data/lib/language_server/protocol/interface/folding_range_params.rb +14 -17
- data/lib/language_server/protocol/interface/folding_range_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/formatting_options.rb +4 -10
- data/lib/language_server/protocol/interface/full_document_diagnostic_report.rb +2 -4
- data/lib/language_server/protocol/interface/hover.rb +3 -3
- data/lib/language_server/protocol/interface/hover_client_capabilities.rb +5 -4
- data/lib/language_server/protocol/interface/hover_options.rb +1 -4
- data/lib/language_server/protocol/interface/hover_params.rb +1 -4
- data/lib/language_server/protocol/interface/hover_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/{t.rb → hover_result.rb} +8 -2
- data/lib/language_server/protocol/interface/implementation_client_capabilities.rb +5 -10
- data/lib/language_server/protocol/interface/implementation_options.rb +1 -1
- data/lib/language_server/protocol/interface/implementation_params.rb +4 -4
- data/lib/language_server/protocol/interface/implementation_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/initialize_error.rb +0 -4
- data/lib/language_server/protocol/interface/initialize_params.rb +29 -41
- data/lib/language_server/protocol/interface/initialize_result.rb +1 -6
- data/lib/language_server/protocol/interface/inlay_hint.rb +13 -9
- data/lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb +3 -5
- data/lib/language_server/protocol/interface/inlay_hint_label_part.rb +3 -5
- data/lib/language_server/protocol/interface/inlay_hint_options.rb +8 -10
- data/lib/language_server/protocol/interface/inlay_hint_params.rb +11 -13
- data/lib/language_server/protocol/interface/inlay_hint_registration_options.rb +12 -14
- data/lib/language_server/protocol/interface/inlay_hint_workspace_client_capabilities.rb +1 -3
- data/lib/language_server/protocol/interface/inline_value_client_capabilities.rb +3 -4
- data/lib/language_server/protocol/interface/inline_value_context.rb +3 -5
- data/lib/language_server/protocol/interface/inline_value_evaluatable_expression.rb +7 -5
- data/lib/language_server/protocol/interface/inline_value_options.rb +1 -3
- data/lib/language_server/protocol/interface/inline_value_params.rb +10 -12
- data/lib/language_server/protocol/interface/inline_value_registration_options.rb +5 -7
- data/lib/language_server/protocol/interface/inline_value_text.rb +0 -2
- data/lib/language_server/protocol/interface/inline_value_variable_lookup.rb +7 -5
- data/lib/language_server/protocol/interface/inline_value_workspace_client_capabilities.rb +5 -7
- data/lib/language_server/protocol/interface/insert_replace_edit.rb +0 -2
- data/lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb +4 -8
- data/lib/language_server/protocol/interface/linked_editing_range_options.rb +1 -1
- data/lib/language_server/protocol/interface/linked_editing_range_params.rb +1 -1
- data/lib/language_server/protocol/interface/linked_editing_range_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/linked_editing_ranges.rb +7 -11
- data/lib/language_server/protocol/interface/location.rb +1 -5
- data/lib/language_server/protocol/interface/location_link.rb +11 -13
- data/lib/language_server/protocol/interface/log_message_params.rb +1 -4
- data/lib/language_server/protocol/interface/log_trace_params.rb +8 -1
- data/lib/language_server/protocol/interface/markup_content.rb +18 -16
- data/lib/language_server/protocol/interface/{lsp_object.rb → message.rb} +8 -6
- data/lib/language_server/protocol/interface/moniker.rb +1 -3
- data/lib/language_server/protocol/interface/moniker_client_capabilities.rb +5 -9
- data/lib/language_server/protocol/interface/moniker_options.rb +1 -1
- data/lib/language_server/protocol/interface/moniker_params.rb +4 -4
- data/lib/language_server/protocol/interface/moniker_registration_options.rb +4 -4
- data/lib/language_server/protocol/interface/notebook_cell.rb +4 -8
- data/lib/language_server/protocol/interface/notebook_cell_array_change.rb +4 -6
- data/lib/language_server/protocol/interface/notebook_cell_text_document_filter.rb +1 -3
- data/lib/language_server/protocol/interface/notebook_document.rb +4 -8
- data/lib/language_server/protocol/interface/notebook_document_change_event.rb +2 -6
- data/lib/language_server/protocol/interface/notebook_document_client_capabilities.rb +0 -4
- data/lib/language_server/protocol/interface/notebook_document_filter.rb +32 -11
- data/lib/language_server/protocol/interface/notebook_document_identifier.rb +2 -4
- data/lib/language_server/protocol/interface/notebook_document_sync_client_capabilities.rb +2 -4
- data/lib/language_server/protocol/interface/notebook_document_sync_options.rb +3 -5
- data/lib/language_server/protocol/interface/notebook_document_sync_registration_options.rb +3 -5
- data/lib/language_server/protocol/interface/notification_message.rb +48 -0
- data/lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb +18 -17
- data/lib/language_server/protocol/interface/parameter_information.rb +9 -7
- data/lib/language_server/protocol/interface/partial_result_params.rb +3 -3
- data/lib/language_server/protocol/interface/position.rb +6 -40
- data/lib/language_server/protocol/interface/prepare_rename_params.rb +1 -1
- data/lib/language_server/protocol/interface/previous_result_id.rb +1 -3
- data/lib/language_server/protocol/interface/progress_params.rb +1 -1
- data/lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb +5 -16
- data/lib/language_server/protocol/interface/publish_diagnostics_params.rb +4 -8
- data/lib/language_server/protocol/interface/range.rb +0 -13
- data/lib/language_server/protocol/interface/reference_client_capabilities.rb +1 -4
- data/lib/language_server/protocol/interface/reference_context.rb +0 -4
- data/lib/language_server/protocol/interface/reference_options.rb +1 -4
- data/lib/language_server/protocol/interface/reference_params.rb +11 -14
- data/lib/language_server/protocol/interface/reference_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/registration.rb +2 -2
- data/lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb +1 -3
- data/lib/language_server/protocol/interface/related_full_document_diagnostic_report.rb +16 -20
- data/lib/language_server/protocol/interface/related_unchanged_document_diagnostic_report.rb +15 -19
- data/lib/language_server/protocol/interface/relative_pattern.rb +2 -4
- data/lib/language_server/protocol/interface/rename_client_capabilities.rb +7 -12
- data/lib/language_server/protocol/interface/rename_file.rb +4 -6
- data/lib/language_server/protocol/interface/rename_file_options.rb +2 -2
- data/lib/language_server/protocol/interface/rename_files_params.rb +4 -6
- data/lib/language_server/protocol/interface/rename_options.rb +8 -13
- data/lib/language_server/protocol/interface/rename_params.rb +12 -15
- data/lib/language_server/protocol/interface/rename_registration_options.rb +11 -16
- data/lib/language_server/protocol/interface/request_message.rb +57 -0
- data/lib/language_server/protocol/interface/response_error.rb +52 -0
- data/lib/language_server/protocol/interface/response_message.rb +58 -0
- data/lib/language_server/protocol/interface/save_options.rb +1 -4
- data/lib/language_server/protocol/interface/selection_range.rb +3 -6
- data/lib/language_server/protocol/interface/selection_range_client_capabilities.rb +5 -4
- data/lib/language_server/protocol/interface/selection_range_options.rb +1 -1
- data/lib/language_server/protocol/interface/selection_range_params.rb +20 -23
- data/lib/language_server/protocol/interface/selection_range_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/semantic_tokens.rb +2 -5
- data/lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb +13 -19
- data/lib/language_server/protocol/interface/semantic_tokens_delta.rb +3 -5
- data/lib/language_server/protocol/interface/semantic_tokens_delta_params.rb +21 -24
- data/lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb +0 -3
- data/lib/language_server/protocol/interface/semantic_tokens_edit.rb +3 -6
- data/lib/language_server/protocol/interface/semantic_tokens_legend.rb +0 -3
- data/lib/language_server/protocol/interface/semantic_tokens_options.rb +9 -12
- data/lib/language_server/protocol/interface/semantic_tokens_params.rb +14 -17
- data/lib/language_server/protocol/interface/semantic_tokens_partial_result.rb +1 -4
- data/lib/language_server/protocol/interface/semantic_tokens_range_params.rb +20 -23
- data/lib/language_server/protocol/interface/semantic_tokens_registration_options.rb +13 -16
- data/lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb +2 -5
- data/lib/language_server/protocol/interface/server_capabilities.rb +66 -89
- data/lib/language_server/protocol/interface/set_trace_params.rb +4 -1
- data/lib/language_server/protocol/interface/show_document_client_capabilities.rb +2 -4
- data/lib/language_server/protocol/interface/show_document_params.rb +4 -6
- data/lib/language_server/protocol/interface/show_document_result.rb +1 -3
- data/lib/language_server/protocol/interface/show_message_params.rb +1 -4
- data/lib/language_server/protocol/interface/show_message_request_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/show_message_request_params.rb +2 -2
- data/lib/language_server/protocol/interface/signature_help.rb +6 -5
- data/lib/language_server/protocol/interface/signature_help_client_capabilities.rb +3 -8
- data/lib/language_server/protocol/interface/signature_help_context.rb +11 -10
- data/lib/language_server/protocol/interface/signature_help_options.rb +14 -17
- data/lib/language_server/protocol/interface/signature_help_params.rb +13 -17
- data/lib/language_server/protocol/interface/signature_help_registration_options.rb +17 -20
- data/lib/language_server/protocol/interface/signature_information.rb +3 -5
- data/lib/language_server/protocol/interface/static_registration_options.rb +2 -3
- data/lib/language_server/protocol/interface/symbol_information.rb +29 -33
- data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +13 -12
- data/lib/language_server/protocol/interface/text_document_client_capabilities.rb +47 -76
- data/lib/language_server/protocol/interface/text_document_content_change_event.rb +8 -6
- data/lib/language_server/protocol/interface/text_document_edit.rb +1 -10
- data/lib/language_server/protocol/interface/text_document_identifier.rb +2 -5
- data/lib/language_server/protocol/interface/text_document_item.rb +3 -7
- data/lib/language_server/protocol/interface/text_document_position_params.rb +0 -4
- data/lib/language_server/protocol/interface/text_document_registration_options.rb +3 -3
- data/lib/language_server/protocol/interface/text_document_save_registration_options.rb +4 -7
- data/lib/language_server/protocol/interface/text_document_sync_client_capabilities.rb +4 -4
- data/lib/language_server/protocol/interface/text_document_sync_options.rb +19 -15
- data/lib/language_server/protocol/interface/text_edit.rb +0 -3
- data/lib/language_server/protocol/interface/type_definition_client_capabilities.rb +5 -10
- data/lib/language_server/protocol/interface/type_definition_options.rb +1 -1
- data/lib/language_server/protocol/interface/type_definition_params.rb +4 -4
- data/lib/language_server/protocol/interface/type_definition_registration_options.rb +5 -5
- data/lib/language_server/protocol/interface/type_hierarchy_item.rb +4 -7
- data/lib/language_server/protocol/interface/type_hierarchy_options.rb +1 -6
- data/lib/language_server/protocol/interface/type_hierarchy_prepare_params.rb +1 -6
- data/lib/language_server/protocol/interface/type_hierarchy_registration_options.rb +5 -10
- data/lib/language_server/protocol/interface/type_hierarchy_subtypes_params.rb +11 -16
- data/lib/language_server/protocol/interface/type_hierarchy_supertypes_params.rb +11 -16
- data/lib/language_server/protocol/interface/unchanged_document_diagnostic_report.rb +1 -3
- data/lib/language_server/protocol/interface/unregistration.rb +2 -2
- data/lib/language_server/protocol/interface/versioned_notebook_document_identifier.rb +3 -5
- data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +13 -13
- data/lib/language_server/protocol/interface/will_save_text_document_params.rb +1 -1
- data/lib/language_server/protocol/interface/work_done_progress_begin.rb +6 -6
- data/lib/language_server/protocol/interface/work_done_progress_end.rb +1 -1
- data/lib/language_server/protocol/interface/work_done_progress_options.rb +1 -1
- data/lib/language_server/protocol/interface/work_done_progress_params.rb +1 -1
- data/lib/language_server/protocol/interface/work_done_progress_report.rb +7 -6
- data/lib/language_server/protocol/interface/workspace_diagnostic_params.rb +21 -23
- data/lib/language_server/protocol/interface/workspace_diagnostic_report.rb +0 -2
- data/lib/language_server/protocol/interface/workspace_diagnostic_report_partial_result.rb +0 -2
- data/lib/language_server/protocol/interface/workspace_edit.rb +17 -28
- data/lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb +6 -15
- data/lib/language_server/protocol/interface/workspace_folder.rb +1 -4
- data/lib/language_server/protocol/interface/workspace_folders_server_capabilities.rb +3 -3
- data/lib/language_server/protocol/interface/workspace_full_document_diagnostic_report.rb +22 -24
- data/lib/language_server/protocol/interface/workspace_symbol.rb +28 -34
- data/lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb +7 -13
- data/lib/language_server/protocol/interface/workspace_symbol_options.rb +8 -13
- data/lib/language_server/protocol/interface/workspace_symbol_params.rb +16 -16
- data/lib/language_server/protocol/interface/workspace_symbol_registration_options.rb +8 -13
- data/lib/language_server/protocol/interface/workspace_unchanged_document_diagnostic_report.rb +21 -23
- data/lib/language_server/protocol/interface.rb +16 -38
- data/lib/language_server/protocol/version.rb +1 -1
- metadata +10 -23
- data/lib/language_server/protocol/constant/lsp_error_codes.rb +0 -55
- data/lib/language_server/protocol/constant/trace_values.rb +0 -20
- data/lib/language_server/protocol/interface/base_symbol_information.rb +0 -68
- data/lib/language_server/protocol/interface/did_change_configuration_registration_options.rb +0 -30
- data/lib/language_server/protocol/interface/document_diagnostic_report.rb +0 -77
- data/lib/language_server/protocol/interface/file_operation_client_capabilities.rb +0 -95
- data/lib/language_server/protocol/interface/file_operation_options.rb +0 -83
- data/lib/language_server/protocol/interface/general_client_capabilities.rb +0 -91
- data/lib/language_server/protocol/interface/glob_pattern.rb +0 -48
- data/lib/language_server/protocol/interface/inline_value.rb +0 -78
- data/lib/language_server/protocol/interface/markdown_client_capabilities.rb +0 -59
- data/lib/language_server/protocol/interface/prepare_rename_result.rb +0 -60
- data/lib/language_server/protocol/interface/resource_operation.rb +0 -47
- data/lib/language_server/protocol/interface/text_document_filter.rb +0 -69
- data/lib/language_server/protocol/interface/type_hierarchy_client_capabilities.rb +0 -38
- data/lib/language_server/protocol/interface/window_client_capabilities.rb +0 -63
- data/lib/language_server/protocol/interface/workspace_client_capabilities.rb +0 -176
- data/lib/language_server/protocol/interface/workspace_document_diagnostic_report.rb +0 -77
- data/lib/language_server/protocol/interface/workspace_folders_initialize_params.rb +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75bc1de387f04a538c440a27915783886cde11fe737f7db7d614a5c738e5e9a3
|
4
|
+
data.tar.gz: aad3bee1927ae7fb47977e3260c9f0066115c7fee4e46e0a918363d6a6d35fe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15210c7abcf5a80655bc1b2a54fb27f84db90b7a8b2a740a62bacc8101b74d0b18db1940b894f4f66d4fe758a03f3c2e1aa1f639d6db1598eb0991885f63b7ca
|
7
|
+
data.tar.gz: 42b3199685478fa7cf436a448d0c0f9aa0278d73b0c61812bcd40eab7034cc8ef23208fb93492277be33046bada12797959eb89297d7a3769e7eabae66999bd5
|
@@ -2,23 +2,30 @@ module LanguageServer
|
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
4
|
#
|
5
|
-
#
|
5
|
+
# The kind of a code action.
|
6
|
+
#
|
7
|
+
# Kinds are a hierarchical list of identifiers separated by `.`,
|
8
|
+
# e.g. `"refactor.extract.function"`.
|
9
|
+
#
|
10
|
+
# The set of kinds is open and client needs to announce the kinds it supports
|
11
|
+
# to the server during initialization.
|
12
|
+
# A set of predefined code action kinds.
|
6
13
|
#
|
7
14
|
module CodeActionKind
|
8
15
|
#
|
9
16
|
# Empty kind.
|
10
17
|
#
|
11
|
-
EMPTY =
|
18
|
+
EMPTY = ''
|
12
19
|
#
|
13
|
-
# Base kind for quickfix actions: 'quickfix'
|
20
|
+
# Base kind for quickfix actions: 'quickfix'.
|
14
21
|
#
|
15
|
-
QUICK_FIX =
|
22
|
+
QUICK_FIX = 'quickfix'
|
16
23
|
#
|
17
|
-
# Base kind for refactoring actions: 'refactor'
|
24
|
+
# Base kind for refactoring actions: 'refactor'.
|
18
25
|
#
|
19
|
-
REFACTOR =
|
26
|
+
REFACTOR = 'refactor'
|
20
27
|
#
|
21
|
-
# Base kind for refactoring extraction actions: 'refactor.extract'
|
28
|
+
# Base kind for refactoring extraction actions: 'refactor.extract'.
|
22
29
|
#
|
23
30
|
# Example extract actions:
|
24
31
|
#
|
@@ -28,9 +35,9 @@ module LanguageServer
|
|
28
35
|
# - Extract interface from class
|
29
36
|
# - ...
|
30
37
|
#
|
31
|
-
REFACTOR_EXTRACT =
|
38
|
+
REFACTOR_EXTRACT = 'refactor.extract'
|
32
39
|
#
|
33
|
-
# Base kind for refactoring inline actions: 'refactor.inline'
|
40
|
+
# Base kind for refactoring inline actions: 'refactor.inline'.
|
34
41
|
#
|
35
42
|
# Example inline actions:
|
36
43
|
#
|
@@ -39,9 +46,9 @@ module LanguageServer
|
|
39
46
|
# - Inline constant
|
40
47
|
# - ...
|
41
48
|
#
|
42
|
-
REFACTOR_INLINE =
|
49
|
+
REFACTOR_INLINE = 'refactor.inline'
|
43
50
|
#
|
44
|
-
# Base kind for refactoring rewrite actions: 'refactor.rewrite'
|
51
|
+
# Base kind for refactoring rewrite actions: 'refactor.rewrite'.
|
45
52
|
#
|
46
53
|
# Example rewrite actions:
|
47
54
|
#
|
@@ -52,26 +59,26 @@ module LanguageServer
|
|
52
59
|
# - Move method to base class
|
53
60
|
# - ...
|
54
61
|
#
|
55
|
-
REFACTOR_REWRITE =
|
62
|
+
REFACTOR_REWRITE = 'refactor.rewrite'
|
56
63
|
#
|
57
|
-
# Base kind for source actions: `source
|
64
|
+
# Base kind for source actions: `source`.
|
58
65
|
#
|
59
66
|
# Source code actions apply to the entire file.
|
60
67
|
#
|
61
|
-
SOURCE =
|
62
|
-
#
|
63
|
-
# Base kind for an organize imports source action: `source.organizeImports`
|
68
|
+
SOURCE = 'source'
|
64
69
|
#
|
65
|
-
|
70
|
+
# Base kind for an organize imports source action:
|
71
|
+
# `source.organizeImports`.
|
66
72
|
#
|
67
|
-
|
73
|
+
SOURCE_ORGANIZE_IMPORTS = 'source.organizeImports'
|
68
74
|
#
|
69
|
-
#
|
70
|
-
# They should not suppress errors or perform unsafe fixes such as generating new types or classes.
|
75
|
+
# Base kind for a 'fix all' source action: `source.fixAll`.
|
71
76
|
#
|
72
|
-
#
|
77
|
+
# 'Fix all' actions automatically fix errors that have a clear fix that
|
78
|
+
# do not require user input. They should not suppress errors or perform
|
79
|
+
# unsafe fixes such as generating new types or classes.
|
73
80
|
#
|
74
|
-
SOURCE_FIX_ALL =
|
81
|
+
SOURCE_FIX_ALL = 'source.fixAll'
|
75
82
|
end
|
76
83
|
end
|
77
84
|
end
|
@@ -2,10 +2,8 @@ module LanguageServer
|
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
4
|
#
|
5
|
-
# Completion item tags are extra annotations that tweak the rendering of a
|
6
|
-
# item.
|
7
|
-
#
|
8
|
-
# @since 3.15.0
|
5
|
+
# Completion item tags are extra annotations that tweak the rendering of a
|
6
|
+
# completion item.
|
9
7
|
#
|
10
8
|
module CompletionItemTag
|
11
9
|
#
|
@@ -12,11 +12,12 @@ module LanguageServer
|
|
12
12
|
INVOKED = 1
|
13
13
|
#
|
14
14
|
# Completion was triggered by a trigger character specified by
|
15
|
-
# the `triggerCharacters` properties of the
|
15
|
+
# the `triggerCharacters` properties of the
|
16
|
+
# `CompletionRegistrationOptions`.
|
16
17
|
#
|
17
18
|
TRIGGER_CHARACTER = 2
|
18
19
|
#
|
19
|
-
# Completion was re-triggered as current completion list is incomplete
|
20
|
+
# Completion was re-triggered as the current completion list is incomplete.
|
20
21
|
#
|
21
22
|
TRIGGER_FOR_INCOMPLETE_COMPLETIONS = 3
|
22
23
|
end
|
@@ -4,14 +4,12 @@ module LanguageServer
|
|
4
4
|
#
|
5
5
|
# The diagnostic tags.
|
6
6
|
#
|
7
|
-
# @since 3.15.0
|
8
|
-
#
|
9
7
|
module DiagnosticTag
|
10
8
|
#
|
11
9
|
# Unused or unnecessary code.
|
12
10
|
#
|
13
|
-
# Clients are allowed to render diagnostics with this tag faded out
|
14
|
-
# an error squiggle.
|
11
|
+
# Clients are allowed to render diagnostics with this tag faded out
|
12
|
+
# instead of having an error squiggle.
|
15
13
|
#
|
16
14
|
UNNECESSARY = 1
|
17
15
|
#
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
#
|
5
|
+
# The document diagnostic report kinds.
|
6
|
+
#
|
7
|
+
module DocumentDiagnosticReportKind
|
8
|
+
#
|
9
|
+
# A diagnostic report with a full
|
10
|
+
# set of problems.
|
11
|
+
#
|
12
|
+
FULL = 'full'
|
13
|
+
#
|
14
|
+
# A report indicating that the last
|
15
|
+
# returned report is still accurate.
|
16
|
+
#
|
17
|
+
UNCHANGED = 'unchanged'
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -1,9 +1,6 @@
|
|
1
1
|
module LanguageServer
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
|
-
#
|
5
|
-
# Predefined error codes.
|
6
|
-
#
|
7
4
|
module ErrorCodes
|
8
5
|
PARSE_ERROR = -32700
|
9
6
|
INVALID_REQUEST = -32600
|
@@ -11,19 +8,14 @@ module LanguageServer
|
|
11
8
|
INVALID_PARAMS = -32602
|
12
9
|
INTERNAL_ERROR = -32603
|
13
10
|
#
|
14
|
-
# This is the start range of JSON
|
15
|
-
# It doesn't denote a real error code. No
|
11
|
+
# This is the start range of JSON-RPC reserved error codes.
|
12
|
+
# It doesn't denote a real error code. No LSP error codes should
|
16
13
|
# be defined between the start and end range. For backwards
|
17
14
|
# compatibility the `ServerNotInitialized` and the `UnknownErrorCode`
|
18
15
|
# are left in the range.
|
19
16
|
#
|
20
|
-
# @since 3.16.0
|
21
|
-
#
|
22
17
|
JSONRPC_RESERVED_ERROR_RANGE_START = -32099
|
23
|
-
|
24
|
-
# @deprecated use jsonrpcReservedErrorRangeStart */
|
25
|
-
#
|
26
|
-
SERVER_ERROR_START = -32099
|
18
|
+
SERVER_ERROR_START = JSONRPC_RESERVED_ERROR_RANGE_START
|
27
19
|
#
|
28
20
|
# Error code indicating that a server received a notification or
|
29
21
|
# request before the server has received the `initialize` request.
|
@@ -31,16 +23,50 @@ module LanguageServer
|
|
31
23
|
SERVER_NOT_INITIALIZED = -32002
|
32
24
|
UNKNOWN_ERROR_CODE = -32001
|
33
25
|
#
|
34
|
-
# This is the end range of JSON
|
26
|
+
# This is the end range of JSON-RPC reserved error codes.
|
35
27
|
# It doesn't denote a real error code.
|
36
28
|
#
|
37
|
-
# @since 3.16.0
|
38
|
-
#
|
39
29
|
JSONRPC_RESERVED_ERROR_RANGE_END = -32000
|
30
|
+
SERVER_ERROR_END = JSONRPC_RESERVED_ERROR_RANGE_END
|
31
|
+
#
|
32
|
+
# This is the start range of LSP reserved error codes.
|
33
|
+
# It doesn't denote a real error code.
|
34
|
+
#
|
35
|
+
LSP_RESERVED_ERROR_RANGE_START = -32899
|
36
|
+
#
|
37
|
+
# A request failed but it was syntactically correct, e.g the
|
38
|
+
# method name was known and the parameters were valid. The error
|
39
|
+
# message should contain human readable information about why
|
40
|
+
# the request failed.
|
41
|
+
#
|
42
|
+
REQUEST_FAILED = -32803
|
40
43
|
#
|
41
|
-
#
|
44
|
+
# The server cancelled the request. This error code should
|
45
|
+
# only be used for requests that explicitly support being
|
46
|
+
# server cancellable.
|
47
|
+
#
|
48
|
+
SERVER_CANCELLED = -32802
|
49
|
+
#
|
50
|
+
# The server detected that the content of a document got
|
51
|
+
# modified outside normal conditions. A server should
|
52
|
+
# NOT send this error code if it detects a content change
|
53
|
+
# in it unprocessed messages. The result even computed
|
54
|
+
# on an older state might still be useful for the client.
|
55
|
+
#
|
56
|
+
# If a client decides that a result is not of any use anymore
|
57
|
+
# the client should cancel the request.
|
58
|
+
#
|
59
|
+
CONTENT_MODIFIED = -32801
|
60
|
+
#
|
61
|
+
# The client has canceled a request and a server as detected
|
62
|
+
# the cancel.
|
63
|
+
#
|
64
|
+
REQUEST_CANCELLED = -32800
|
65
|
+
#
|
66
|
+
# This is the end range of LSP reserved error codes.
|
67
|
+
# It doesn't denote a real error code.
|
42
68
|
#
|
43
|
-
|
69
|
+
LSP_RESERVED_ERROR_RANGE_END = -32800
|
44
70
|
end
|
45
71
|
end
|
46
72
|
end
|
@@ -3,26 +3,27 @@ module LanguageServer
|
|
3
3
|
module Constant
|
4
4
|
module FailureHandlingKind
|
5
5
|
#
|
6
|
-
# Applying the workspace change is simply aborted if one of the changes
|
7
|
-
# fails. All operations executed before the failing operation
|
6
|
+
# Applying the workspace change is simply aborted if one of the changes
|
7
|
+
# provided fails. All operations executed before the failing operation
|
8
|
+
# stay executed.
|
8
9
|
#
|
9
|
-
ABORT =
|
10
|
+
ABORT = 'abort'
|
10
11
|
#
|
11
12
|
# All operations are executed transactional. That means they either all
|
12
13
|
# succeed or no changes at all are applied to the workspace.
|
13
14
|
#
|
14
|
-
TRANSACTIONAL =
|
15
|
+
TRANSACTIONAL = 'transactional'
|
15
16
|
#
|
16
|
-
# If the workspace edit contains only textual file changes they are
|
17
|
-
# If resource changes (create, rename or delete
|
18
|
-
# handling strategy is abort.
|
17
|
+
# If the workspace edit contains only textual file changes they are
|
18
|
+
# executed transactional. If resource changes (create, rename or delete
|
19
|
+
# file) are part of the change the failure handling strategy is abort.
|
19
20
|
#
|
20
|
-
TEXT_ONLY_TRANSACTIONAL =
|
21
|
+
TEXT_ONLY_TRANSACTIONAL = 'textOnlyTransactional'
|
21
22
|
#
|
22
23
|
# The client tries to undo the operations already executed. But there is no
|
23
24
|
# guarantee that this is succeeding.
|
24
25
|
#
|
25
|
-
UNDO =
|
26
|
+
UNDO = 'undo'
|
26
27
|
end
|
27
28
|
end
|
28
29
|
end
|
@@ -5,17 +5,15 @@ module LanguageServer
|
|
5
5
|
# A pattern kind describing if a glob pattern matches a file a folder or
|
6
6
|
# both.
|
7
7
|
#
|
8
|
-
# @since 3.16.0
|
9
|
-
#
|
10
8
|
module FileOperationPatternKind
|
11
9
|
#
|
12
10
|
# The pattern matches a file only.
|
13
11
|
#
|
14
|
-
FILE =
|
12
|
+
FILE = 'file'
|
15
13
|
#
|
16
14
|
# The pattern matches a folder only.
|
17
15
|
#
|
18
|
-
FOLDER =
|
16
|
+
FOLDER = 'folder'
|
19
17
|
end
|
20
18
|
end
|
21
19
|
end
|
@@ -3,20 +3,21 @@ module LanguageServer
|
|
3
3
|
module Constant
|
4
4
|
#
|
5
5
|
# A set of predefined range kinds.
|
6
|
+
# The type is a string since the value set is extensible
|
6
7
|
#
|
7
8
|
module FoldingRangeKind
|
8
9
|
#
|
9
10
|
# Folding range for a comment
|
10
11
|
#
|
11
|
-
COMMENT =
|
12
|
+
COMMENT = 'comment'
|
12
13
|
#
|
13
|
-
# Folding range for
|
14
|
+
# Folding range for a imports or includes
|
14
15
|
#
|
15
|
-
IMPORTS =
|
16
|
+
IMPORTS = 'imports'
|
16
17
|
#
|
17
18
|
# Folding range for a region (e.g. `#region`)
|
18
19
|
#
|
19
|
-
REGION =
|
20
|
+
REGION = 'region'
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
#
|
5
|
+
# Known error codes for an `InitializeErrorCodes`;
|
6
|
+
#
|
7
|
+
module InitializeErrorCodes
|
8
|
+
#
|
9
|
+
# If the protocol version provided by the client can't be handled by
|
10
|
+
# the server.
|
11
|
+
#
|
12
|
+
UNKNOWN_PROTOCOL_VERSION = 1
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -18,8 +18,6 @@ module LanguageServer
|
|
18
18
|
# the end of the snippet. Placeholders with equal identifiers are linked,
|
19
19
|
# that is typing in one will update others too.
|
20
20
|
#
|
21
|
-
# See also: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax
|
22
|
-
#
|
23
21
|
SNIPPET = 2
|
24
22
|
end
|
25
23
|
end
|
@@ -12,11 +12,11 @@ module LanguageServer
|
|
12
12
|
#
|
13
13
|
# Plain text is supported as a content format
|
14
14
|
#
|
15
|
-
PLAIN_TEXT =
|
15
|
+
PLAIN_TEXT = 'plaintext'
|
16
16
|
#
|
17
17
|
# Markdown is supported as a content format
|
18
18
|
#
|
19
|
-
MARKDOWN =
|
19
|
+
MARKDOWN = 'markdown'
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|
@@ -4,22 +4,20 @@ module LanguageServer
|
|
4
4
|
#
|
5
5
|
# The moniker kind.
|
6
6
|
#
|
7
|
-
# @since 3.16.0
|
8
|
-
#
|
9
7
|
module MonikerKind
|
10
8
|
#
|
11
9
|
# The moniker represent a symbol that is imported into a project
|
12
10
|
#
|
13
|
-
IMPORT =
|
11
|
+
IMPORT = 'import'
|
14
12
|
#
|
15
13
|
# The moniker represents a symbol that is exported from a project
|
16
14
|
#
|
17
|
-
EXPORT =
|
15
|
+
EXPORT = 'export'
|
18
16
|
#
|
19
17
|
# The moniker represents a symbol that is local to a project (e.g. a local
|
20
18
|
# variable of a function, a class not visible outside the project, ...)
|
21
19
|
#
|
22
|
-
LOCAL =
|
20
|
+
LOCAL = 'local'
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -2,22 +2,22 @@ module LanguageServer
|
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
4
|
#
|
5
|
+
# A type indicating how positions are encoded,
|
6
|
+
# specifically what column offsets mean.
|
5
7
|
# A set of predefined position encoding kinds.
|
6
8
|
#
|
7
|
-
# @since 3.17.0
|
8
|
-
#
|
9
9
|
module PositionEncodingKind
|
10
10
|
#
|
11
11
|
# Character offsets count UTF-8 code units.
|
12
12
|
#
|
13
|
-
UTF8 =
|
13
|
+
UTF8 = 'utf-8'
|
14
14
|
#
|
15
15
|
# Character offsets count UTF-16 code units.
|
16
16
|
#
|
17
17
|
# This is the default and must always be supported
|
18
18
|
# by servers
|
19
19
|
#
|
20
|
-
UTF16 =
|
20
|
+
UTF16 = 'utf-16'
|
21
21
|
#
|
22
22
|
# Character offsets count UTF-32 code units.
|
23
23
|
#
|
@@ -25,7 +25,7 @@ module LanguageServer
|
|
25
25
|
# so this `PositionEncodingKind` may also be used for an
|
26
26
|
# encoding-agnostic representation of character offsets.
|
27
27
|
#
|
28
|
-
UTF32 =
|
28
|
+
UTF32 = 'utf-32'
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -1,19 +1,22 @@
|
|
1
1
|
module LanguageServer
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
|
+
#
|
5
|
+
# The kind of resource operations supported by the client.
|
6
|
+
#
|
4
7
|
module ResourceOperationKind
|
5
8
|
#
|
6
9
|
# Supports creating new files and folders.
|
7
10
|
#
|
8
|
-
CREATE =
|
11
|
+
CREATE = 'create'
|
9
12
|
#
|
10
13
|
# Supports renaming existing files and folders.
|
11
14
|
#
|
12
|
-
RENAME =
|
15
|
+
RENAME = 'rename'
|
13
16
|
#
|
14
17
|
# Supports deleting existing files and folders.
|
15
18
|
#
|
16
|
-
DELETE =
|
19
|
+
DELETE = 'delete'
|
17
20
|
end
|
18
21
|
end
|
19
22
|
end
|
@@ -1,24 +1,17 @@
|
|
1
1
|
module LanguageServer
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
|
-
#
|
5
|
-
# A set of predefined token modifiers. This set is not fixed
|
6
|
-
# an clients can specify additional token types via the
|
7
|
-
# corresponding client capabilities.
|
8
|
-
#
|
9
|
-
# @since 3.16.0
|
10
|
-
#
|
11
4
|
module SemanticTokenModifiers
|
12
|
-
DECLARATION =
|
13
|
-
DEFINITION =
|
14
|
-
READONLY =
|
15
|
-
STATIC =
|
16
|
-
DEPRECATED =
|
17
|
-
ABSTRACT =
|
18
|
-
ASYNC =
|
19
|
-
MODIFICATION =
|
20
|
-
DOCUMENTATION =
|
21
|
-
DEFAULT_LIBRARY =
|
5
|
+
DECLARATION = 'declaration'
|
6
|
+
DEFINITION = 'definition'
|
7
|
+
READONLY = 'readonly'
|
8
|
+
STATIC = 'static'
|
9
|
+
DEPRECATED = 'deprecated'
|
10
|
+
ABSTRACT = 'abstract'
|
11
|
+
ASYNC = 'async'
|
12
|
+
MODIFICATION = 'modification'
|
13
|
+
DOCUMENTATION = 'documentation'
|
14
|
+
DEFAULT_LIBRARY = 'defaultLibrary'
|
22
15
|
end
|
23
16
|
end
|
24
17
|
end
|