language_server-protocol 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/circle.yml +23 -0
  4. data/docker-compose.yml +35 -0
  5. data/docker-sync.yml +9 -0
  6. data/language_server-protocol.gemspec +3 -0
  7. data/lib/language_server-protocol.rb +1 -0
  8. data/lib/language_server/protocol.rb +3 -6
  9. data/lib/language_server/protocol/constant.rb +11 -0
  10. data/lib/language_server/protocol/{constants → constant}/completion_item_kind.rb +1 -1
  11. data/lib/language_server/protocol/{constants → constant}/diagnostic_severity.rb +1 -1
  12. data/lib/language_server/protocol/{constants → constant}/document_highlight_kind.rb +1 -1
  13. data/lib/language_server/protocol/{constants → constant}/error_codes.rb +1 -1
  14. data/lib/language_server/protocol/{constants → constant}/file_change_type.rb +1 -1
  15. data/lib/language_server/protocol/{constants → constant}/initialize_error.rb +1 -1
  16. data/lib/language_server/protocol/{constants → constant}/insert_text_format.rb +1 -1
  17. data/lib/language_server/protocol/{constants → constant}/message_type.rb +1 -1
  18. data/lib/language_server/protocol/{constants → constant}/symbol_kind.rb +1 -1
  19. data/lib/language_server/protocol/{constants → constant}/text_document_save_reason.rb +1 -1
  20. data/lib/language_server/protocol/{constants → constant}/text_document_sync_kind.rb +1 -1
  21. data/lib/language_server/protocol/interface.rb +87 -0
  22. data/lib/language_server/protocol/{interfaces → interface}/apply_workspace_edit_params.rb +1 -1
  23. data/lib/language_server/protocol/{interfaces → interface}/apply_workspace_edit_response.rb +1 -1
  24. data/lib/language_server/protocol/{interfaces → interface}/cancel_params.rb +1 -1
  25. data/lib/language_server/protocol/{interfaces → interface}/client_capabilities.rb +1 -1
  26. data/lib/language_server/protocol/{interfaces → interface}/code_action_context.rb +1 -1
  27. data/lib/language_server/protocol/{interfaces → interface}/code_action_params.rb +1 -1
  28. data/lib/language_server/protocol/{interfaces → interface}/code_lens.rb +1 -1
  29. data/lib/language_server/protocol/{interfaces → interface}/code_lens_options.rb +1 -1
  30. data/lib/language_server/protocol/{interfaces → interface}/code_lens_params.rb +1 -1
  31. data/lib/language_server/protocol/{interfaces → interface}/code_lens_registration_options.rb +1 -1
  32. data/lib/language_server/protocol/{interfaces → interface}/command.rb +1 -1
  33. data/lib/language_server/protocol/{interfaces → interface}/completion_item.rb +1 -1
  34. data/lib/language_server/protocol/{interfaces → interface}/completion_list.rb +1 -1
  35. data/lib/language_server/protocol/{interfaces → interface}/completion_options.rb +1 -1
  36. data/lib/language_server/protocol/{interfaces → interface}/completion_registration_options.rb +1 -1
  37. data/lib/language_server/protocol/{interfaces → interface}/diagnostic.rb +1 -1
  38. data/lib/language_server/protocol/{interfaces → interface}/did_change_configuration_params.rb +1 -1
  39. data/lib/language_server/protocol/{interfaces → interface}/did_change_text_document_params.rb +1 -1
  40. data/lib/language_server/protocol/{interfaces → interface}/did_change_watched_files_params.rb +1 -1
  41. data/lib/language_server/protocol/{interfaces → interface}/did_close_text_document_params.rb +1 -1
  42. data/lib/language_server/protocol/{interfaces → interface}/did_open_text_document_params.rb +1 -1
  43. data/lib/language_server/protocol/{interfaces → interface}/did_save_text_document_params.rb +1 -1
  44. data/lib/language_server/protocol/{interfaces → interface}/document_filter.rb +1 -1
  45. data/lib/language_server/protocol/{interfaces → interface}/document_formatting_params.rb +1 -1
  46. data/lib/language_server/protocol/{interfaces → interface}/document_highlight.rb +1 -1
  47. data/lib/language_server/protocol/{interfaces → interface}/document_link.rb +1 -1
  48. data/lib/language_server/protocol/{interfaces → interface}/document_link_options.rb +1 -1
  49. data/lib/language_server/protocol/{interfaces → interface}/document_link_params.rb +1 -1
  50. data/lib/language_server/protocol/{interfaces → interface}/document_link_registration_options.rb +1 -1
  51. data/lib/language_server/protocol/{interfaces → interface}/document_on_type_formatting_options.rb +1 -1
  52. data/lib/language_server/protocol/{interfaces → interface}/document_on_type_formatting_params.rb +1 -1
  53. data/lib/language_server/protocol/{interfaces → interface}/document_on_type_formatting_registration_options.rb +1 -1
  54. data/lib/language_server/protocol/{interfaces → interface}/document_range_formatting_params.rb +1 -1
  55. data/lib/language_server/protocol/{interfaces → interface}/document_symbol_params.rb +1 -1
  56. data/lib/language_server/protocol/{interfaces → interface}/execute_command_options.rb +1 -1
  57. data/lib/language_server/protocol/{interfaces → interface}/execute_command_params.rb +1 -1
  58. data/lib/language_server/protocol/{interfaces → interface}/execute_command_registration_options.rb +1 -1
  59. data/lib/language_server/protocol/{interfaces → interface}/file_event.rb +1 -1
  60. data/lib/language_server/protocol/{interfaces → interface}/formatting_options.rb +1 -1
  61. data/lib/language_server/protocol/{interfaces → interface}/hover.rb +1 -1
  62. data/lib/language_server/protocol/{interfaces → interface}/initialize_error.rb +1 -1
  63. data/lib/language_server/protocol/{interfaces → interface}/initialize_params.rb +1 -1
  64. data/lib/language_server/protocol/{interfaces → interface}/initialize_result.rb +1 -1
  65. data/lib/language_server/protocol/{interfaces → interface}/location.rb +1 -1
  66. data/lib/language_server/protocol/{interfaces → interface}/log_message_params.rb +1 -1
  67. data/lib/language_server/protocol/{interfaces → interface}/message.rb +1 -1
  68. data/lib/language_server/protocol/{interfaces → interface}/message_action_item.rb +1 -1
  69. data/lib/language_server/protocol/{interfaces → interface}/notification_message.rb +1 -1
  70. data/lib/language_server/protocol/{interfaces → interface}/parameter_information.rb +1 -1
  71. data/lib/language_server/protocol/{interfaces → interface}/position.rb +1 -1
  72. data/lib/language_server/protocol/{interfaces → interface}/publish_diagnostics_params.rb +1 -1
  73. data/lib/language_server/protocol/{interfaces → interface}/range.rb +1 -1
  74. data/lib/language_server/protocol/{interfaces → interface}/reference_context.rb +1 -1
  75. data/lib/language_server/protocol/{interfaces → interface}/reference_params.rb +1 -1
  76. data/lib/language_server/protocol/{interfaces → interface}/registration.rb +1 -1
  77. data/lib/language_server/protocol/{interfaces → interface}/registration_params.rb +1 -1
  78. data/lib/language_server/protocol/{interfaces → interface}/rename_params.rb +1 -1
  79. data/lib/language_server/protocol/{interfaces → interface}/request_message.rb +1 -1
  80. data/lib/language_server/protocol/{interfaces → interface}/response_error.rb +1 -1
  81. data/lib/language_server/protocol/{interfaces → interface}/response_message.rb +1 -1
  82. data/lib/language_server/protocol/{interfaces → interface}/save_options.rb +1 -1
  83. data/lib/language_server/protocol/{interfaces → interface}/server_capabilities.rb +1 -1
  84. data/lib/language_server/protocol/{interfaces → interface}/show_message_params.rb +1 -1
  85. data/lib/language_server/protocol/{interfaces → interface}/show_message_request_params.rb +1 -1
  86. data/lib/language_server/protocol/{interfaces → interface}/signature_help.rb +1 -1
  87. data/lib/language_server/protocol/{interfaces → interface}/signature_help_options.rb +1 -1
  88. data/lib/language_server/protocol/{interfaces → interface}/signature_help_registration_options.rb +1 -1
  89. data/lib/language_server/protocol/{interfaces → interface}/signature_information.rb +1 -1
  90. data/lib/language_server/protocol/{interfaces → interface}/symbol_information.rb +1 -1
  91. data/lib/language_server/protocol/{interfaces → interface}/text_document_change_registration_options.rb +1 -1
  92. data/lib/language_server/protocol/{interfaces → interface}/text_document_client_capabilities.rb +1 -1
  93. data/lib/language_server/protocol/{interfaces → interface}/text_document_content_change_event.rb +1 -1
  94. data/lib/language_server/protocol/{interfaces → interface}/text_document_edit.rb +1 -1
  95. data/lib/language_server/protocol/{interfaces → interface}/text_document_identifier.rb +1 -1
  96. data/lib/language_server/protocol/{interfaces → interface}/text_document_item.rb +1 -1
  97. data/lib/language_server/protocol/{interfaces → interface}/text_document_position_params.rb +1 -1
  98. data/lib/language_server/protocol/{interfaces → interface}/text_document_registration_options.rb +1 -1
  99. data/lib/language_server/protocol/{interfaces → interface}/text_document_save_registration_options.rb +1 -1
  100. data/lib/language_server/protocol/{interfaces → interface}/text_document_sync_options.rb +1 -1
  101. data/lib/language_server/protocol/{interfaces → interface}/text_edit.rb +1 -1
  102. data/lib/language_server/protocol/{interfaces → interface}/unregistration.rb +1 -1
  103. data/lib/language_server/protocol/{interfaces → interface}/unregistration_params.rb +1 -1
  104. data/lib/language_server/protocol/{interfaces → interface}/versioned_text_document_identifier.rb +1 -1
  105. data/lib/language_server/protocol/{interfaces → interface}/will_save_text_document_params.rb +1 -1
  106. data/lib/language_server/protocol/{interfaces → interface}/workspace_client_capabilites.rb +1 -1
  107. data/lib/language_server/protocol/{interfaces → interface}/workspace_edit.rb +1 -1
  108. data/lib/language_server/protocol/{interfaces → interface}/workspace_symbol_params.rb +1 -1
  109. data/lib/language_server/protocol/transport.rb +1 -0
  110. data/lib/language_server/protocol/version.rb +1 -1
  111. data/scripts/generateFiles.ts +8 -8
  112. metadata +149 -102
  113. data/lib/language_server/protocol/constants.rb +0 -11
  114. data/lib/language_server/protocol/interfaces.rb +0 -87
@@ -1,11 +0,0 @@
1
- require "language_server/protocol/constants/error_codes"
2
- require "language_server/protocol/constants/diagnostic_severity"
3
- require "language_server/protocol/constants/initialize_error"
4
- require "language_server/protocol/constants/text_document_sync_kind"
5
- require "language_server/protocol/constants/message_type"
6
- require "language_server/protocol/constants/text_document_save_reason"
7
- require "language_server/protocol/constants/file_change_type"
8
- require "language_server/protocol/constants/insert_text_format"
9
- require "language_server/protocol/constants/completion_item_kind"
10
- require "language_server/protocol/constants/document_highlight_kind"
11
- require "language_server/protocol/constants/symbol_kind"
@@ -1,87 +0,0 @@
1
- require "language_server/protocol/interfaces/message"
2
- require "language_server/protocol/interfaces/request_message"
3
- require "language_server/protocol/interfaces/response_message"
4
- require "language_server/protocol/interfaces/response_error"
5
- require "language_server/protocol/interfaces/notification_message"
6
- require "language_server/protocol/interfaces/cancel_params"
7
- require "language_server/protocol/interfaces/position"
8
- require "language_server/protocol/interfaces/range"
9
- require "language_server/protocol/interfaces/location"
10
- require "language_server/protocol/interfaces/diagnostic"
11
- require "language_server/protocol/interfaces/command"
12
- require "language_server/protocol/interfaces/text_edit"
13
- require "language_server/protocol/interfaces/text_document_edit"
14
- require "language_server/protocol/interfaces/workspace_edit"
15
- require "language_server/protocol/interfaces/text_document_identifier"
16
- require "language_server/protocol/interfaces/text_document_item"
17
- require "language_server/protocol/interfaces/versioned_text_document_identifier"
18
- require "language_server/protocol/interfaces/text_document_position_params"
19
- require "language_server/protocol/interfaces/document_filter"
20
- require "language_server/protocol/interfaces/initialize_params"
21
- require "language_server/protocol/interfaces/workspace_client_capabilites"
22
- require "language_server/protocol/interfaces/text_document_client_capabilities"
23
- require "language_server/protocol/interfaces/client_capabilities"
24
- require "language_server/protocol/interfaces/initialize_result"
25
- require "language_server/protocol/interfaces/initialize_error"
26
- require "language_server/protocol/interfaces/completion_options"
27
- require "language_server/protocol/interfaces/signature_help_options"
28
- require "language_server/protocol/interfaces/code_lens_options"
29
- require "language_server/protocol/interfaces/document_on_type_formatting_options"
30
- require "language_server/protocol/interfaces/document_link_options"
31
- require "language_server/protocol/interfaces/execute_command_options"
32
- require "language_server/protocol/interfaces/save_options"
33
- require "language_server/protocol/interfaces/text_document_sync_options"
34
- require "language_server/protocol/interfaces/server_capabilities"
35
- require "language_server/protocol/interfaces/show_message_params"
36
- require "language_server/protocol/interfaces/show_message_request_params"
37
- require "language_server/protocol/interfaces/message_action_item"
38
- require "language_server/protocol/interfaces/log_message_params"
39
- require "language_server/protocol/interfaces/registration"
40
- require "language_server/protocol/interfaces/registration_params"
41
- require "language_server/protocol/interfaces/text_document_registration_options"
42
- require "language_server/protocol/interfaces/unregistration"
43
- require "language_server/protocol/interfaces/unregistration_params"
44
- require "language_server/protocol/interfaces/did_change_configuration_params"
45
- require "language_server/protocol/interfaces/did_open_text_document_params"
46
- require "language_server/protocol/interfaces/did_change_text_document_params"
47
- require "language_server/protocol/interfaces/text_document_content_change_event"
48
- require "language_server/protocol/interfaces/text_document_change_registration_options"
49
- require "language_server/protocol/interfaces/will_save_text_document_params"
50
- require "language_server/protocol/interfaces/did_save_text_document_params"
51
- require "language_server/protocol/interfaces/text_document_save_registration_options"
52
- require "language_server/protocol/interfaces/did_close_text_document_params"
53
- require "language_server/protocol/interfaces/did_change_watched_files_params"
54
- require "language_server/protocol/interfaces/file_event"
55
- require "language_server/protocol/interfaces/publish_diagnostics_params"
56
- require "language_server/protocol/interfaces/completion_list"
57
- require "language_server/protocol/interfaces/completion_item"
58
- require "language_server/protocol/interfaces/completion_registration_options"
59
- require "language_server/protocol/interfaces/hover"
60
- require "language_server/protocol/interfaces/signature_help"
61
- require "language_server/protocol/interfaces/signature_information"
62
- require "language_server/protocol/interfaces/parameter_information"
63
- require "language_server/protocol/interfaces/signature_help_registration_options"
64
- require "language_server/protocol/interfaces/reference_params"
65
- require "language_server/protocol/interfaces/reference_context"
66
- require "language_server/protocol/interfaces/document_highlight"
67
- require "language_server/protocol/interfaces/document_symbol_params"
68
- require "language_server/protocol/interfaces/symbol_information"
69
- require "language_server/protocol/interfaces/workspace_symbol_params"
70
- require "language_server/protocol/interfaces/code_action_params"
71
- require "language_server/protocol/interfaces/code_action_context"
72
- require "language_server/protocol/interfaces/code_lens_params"
73
- require "language_server/protocol/interfaces/code_lens"
74
- require "language_server/protocol/interfaces/code_lens_registration_options"
75
- require "language_server/protocol/interfaces/document_link_params"
76
- require "language_server/protocol/interfaces/document_link"
77
- require "language_server/protocol/interfaces/document_link_registration_options"
78
- require "language_server/protocol/interfaces/document_formatting_params"
79
- require "language_server/protocol/interfaces/formatting_options"
80
- require "language_server/protocol/interfaces/document_range_formatting_params"
81
- require "language_server/protocol/interfaces/document_on_type_formatting_params"
82
- require "language_server/protocol/interfaces/document_on_type_formatting_registration_options"
83
- require "language_server/protocol/interfaces/rename_params"
84
- require "language_server/protocol/interfaces/execute_command_params"
85
- require "language_server/protocol/interfaces/execute_command_registration_options"
86
- require "language_server/protocol/interfaces/apply_workspace_edit_params"
87
- require "language_server/protocol/interfaces/apply_workspace_edit_response"