language_server 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/CODE_OF_CONDUCT.md +74 -0
  4. data/Dockerfile +13 -0
  5. data/Dockerfile.production +5 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +41 -0
  9. data/Rakefile +10 -0
  10. data/bin/console +11 -0
  11. data/bin/generate_files +3 -0
  12. data/bin/setup +8 -0
  13. data/docker-compose.yml +20 -0
  14. data/exe/language_server +8 -0
  15. data/language_server.gemspec +28 -0
  16. data/lib/language_server/protocol/constants/completion_item_kind.rb +29 -0
  17. data/lib/language_server/protocol/constants/diagnostic_severity.rb +24 -0
  18. data/lib/language_server/protocol/constants/document_highlight_kind.rb +23 -0
  19. data/lib/language_server/protocol/constants/error_codes.rb +18 -0
  20. data/lib/language_server/protocol/constants/file_change_type.rb +23 -0
  21. data/lib/language_server/protocol/constants/initialize_error.rb +15 -0
  22. data/lib/language_server/protocol/constants/insert_text_format.rb +27 -0
  23. data/lib/language_server/protocol/constants/message_type.rb +24 -0
  24. data/lib/language_server/protocol/constants/symbol_kind.rb +29 -0
  25. data/lib/language_server/protocol/constants/text_document_save_reason.rb +24 -0
  26. data/lib/language_server/protocol/constants/text_document_sync_kind.rb +26 -0
  27. data/lib/language_server/protocol/constants.rb +11 -0
  28. data/lib/language_server/protocol/interfaces/apply_workspace_edit_params.rb +29 -0
  29. data/lib/language_server/protocol/interfaces/apply_workspace_edit_response.rb +29 -0
  30. data/lib/language_server/protocol/interfaces/cancel_params.rb +29 -0
  31. data/lib/language_server/protocol/interfaces/client_capabilities.rb +47 -0
  32. data/lib/language_server/protocol/interfaces/code_action_context.rb +33 -0
  33. data/lib/language_server/protocol/interfaces/code_action_params.rb +50 -0
  34. data/lib/language_server/protocol/interfaces/code_lens.rb +55 -0
  35. data/lib/language_server/protocol/interfaces/code_lens_options.rb +32 -0
  36. data/lib/language_server/protocol/interfaces/code_lens_params.rb +29 -0
  37. data/lib/language_server/protocol/interfaces/code_lens_registration_options.rb +29 -0
  38. data/lib/language_server/protocol/interfaces/command.rb +48 -0
  39. data/lib/language_server/protocol/interfaces/completion_item.rb +145 -0
  40. data/lib/language_server/protocol/interfaces/completion_list.rb +43 -0
  41. data/lib/language_server/protocol/interfaces/completion_options.rb +42 -0
  42. data/lib/language_server/protocol/interfaces/completion_registration_options.rb +39 -0
  43. data/lib/language_server/protocol/interfaces/diagnostic.rb +67 -0
  44. data/lib/language_server/protocol/interfaces/did_change_configuration_params.rb +29 -0
  45. data/lib/language_server/protocol/interfaces/did_change_text_document_params.rb +40 -0
  46. data/lib/language_server/protocol/interfaces/did_change_watched_files_params.rb +29 -0
  47. data/lib/language_server/protocol/interfaces/did_close_text_document_params.rb +29 -0
  48. data/lib/language_server/protocol/interfaces/did_open_text_document_params.rb +29 -0
  49. data/lib/language_server/protocol/interfaces/did_save_text_document_params.rb +39 -0
  50. data/lib/language_server/protocol/interfaces/document_filter.rb +47 -0
  51. data/lib/language_server/protocol/interfaces/document_formatting_params.rb +38 -0
  52. data/lib/language_server/protocol/interfaces/document_highlight.rb +43 -0
  53. data/lib/language_server/protocol/interfaces/document_link.rb +42 -0
  54. data/lib/language_server/protocol/interfaces/document_link_options.rb +32 -0
  55. data/lib/language_server/protocol/interfaces/document_link_params.rb +29 -0
  56. data/lib/language_server/protocol/interfaces/document_link_registration_options.rb +29 -0
  57. data/lib/language_server/protocol/interfaces/document_on_type_formatting_options.rb +41 -0
  58. data/lib/language_server/protocol/interfaces/document_on_type_formatting_params.rb +56 -0
  59. data/lib/language_server/protocol/interfaces/document_on_type_formatting_registration_options.rb +38 -0
  60. data/lib/language_server/protocol/interfaces/document_range_formatting_params.rb +47 -0
  61. data/lib/language_server/protocol/interfaces/document_symbol_params.rb +29 -0
  62. data/lib/language_server/protocol/interfaces/execute_command_options.rb +32 -0
  63. data/lib/language_server/protocol/interfaces/execute_command_params.rb +38 -0
  64. data/lib/language_server/protocol/interfaces/execute_command_registration_options.rb +32 -0
  65. data/lib/language_server/protocol/interfaces/file_event.rb +41 -0
  66. data/lib/language_server/protocol/interfaces/formatting_options.rb +41 -0
  67. data/lib/language_server/protocol/interfaces/hover.rb +42 -0
  68. data/lib/language_server/protocol/interfaces/initialize_error.rb +35 -0
  69. data/lib/language_server/protocol/interfaces/initialize_params.rb +79 -0
  70. data/lib/language_server/protocol/interfaces/initialize_result.rb +29 -0
  71. data/lib/language_server/protocol/interfaces/location.rb +32 -0
  72. data/lib/language_server/protocol/interfaces/log_message_params.rb +38 -0
  73. data/lib/language_server/protocol/interfaces/message.rb +26 -0
  74. data/lib/language_server/protocol/interfaces/message_action_item.rb +29 -0
  75. data/lib/language_server/protocol/interfaces/notification_message.rb +38 -0
  76. data/lib/language_server/protocol/interfaces/parameter_information.rb +44 -0
  77. data/lib/language_server/protocol/interfaces/position.rb +38 -0
  78. data/lib/language_server/protocol/interfaces/publish_diagnostics_params.rb +38 -0
  79. data/lib/language_server/protocol/interfaces/range.rb +38 -0
  80. data/lib/language_server/protocol/interfaces/reference_context.rb +29 -0
  81. data/lib/language_server/protocol/interfaces/reference_params.rb +26 -0
  82. data/lib/language_server/protocol/interfaces/registration.rb +51 -0
  83. data/lib/language_server/protocol/interfaces/registration_params.rb +26 -0
  84. data/lib/language_server/protocol/interfaces/rename_params.rb +49 -0
  85. data/lib/language_server/protocol/interfaces/request_message.rb +47 -0
  86. data/lib/language_server/protocol/interfaces/response_error.rb +48 -0
  87. data/lib/language_server/protocol/interfaces/response_message.rb +48 -0
  88. data/lib/language_server/protocol/interfaces/save_options.rb +32 -0
  89. data/lib/language_server/protocol/interfaces/server_capabilities.rb +183 -0
  90. data/lib/language_server/protocol/interfaces/show_message_params.rb +38 -0
  91. data/lib/language_server/protocol/interfaces/show_message_request_params.rb +47 -0
  92. data/lib/language_server/protocol/interfaces/signature_help.rb +64 -0
  93. data/lib/language_server/protocol/interfaces/signature_help_options.rb +33 -0
  94. data/lib/language_server/protocol/interfaces/signature_help_registration_options.rb +30 -0
  95. data/lib/language_server/protocol/interfaces/signature_information.rb +54 -0
  96. data/lib/language_server/protocol/interfaces/symbol_information.rb +60 -0
  97. data/lib/language_server/protocol/interfaces/text_document_change_registration_options.rb +33 -0
  98. data/lib/language_server/protocol/interfaces/text_document_client_capabilities.rb +155 -0
  99. data/lib/language_server/protocol/interfaces/text_document_content_change_event.rb +51 -0
  100. data/lib/language_server/protocol/interfaces/text_document_edit.rb +38 -0
  101. data/lib/language_server/protocol/interfaces/text_document_identifier.rb +29 -0
  102. data/lib/language_server/protocol/interfaces/text_document_item.rb +57 -0
  103. data/lib/language_server/protocol/interfaces/text_document_position_params.rb +38 -0
  104. data/lib/language_server/protocol/interfaces/text_document_registration_options.rb +30 -0
  105. data/lib/language_server/protocol/interfaces/text_document_save_registration_options.rb +29 -0
  106. data/lib/language_server/protocol/interfaces/text_document_sync_options.rb +66 -0
  107. data/lib/language_server/protocol/interfaces/text_edit.rb +40 -0
  108. data/lib/language_server/protocol/interfaces/unregistration.rb +42 -0
  109. data/lib/language_server/protocol/interfaces/unregistration_params.rb +26 -0
  110. data/lib/language_server/protocol/interfaces/versioned_text_document_identifier.rb +29 -0
  111. data/lib/language_server/protocol/interfaces/will_save_text_document_params.rb +41 -0
  112. data/lib/language_server/protocol/interfaces/workspace_client_capabilites.rb +78 -0
  113. data/lib/language_server/protocol/interfaces/workspace_edit.rb +40 -0
  114. data/lib/language_server/protocol/interfaces/workspace_symbol_params.rb +32 -0
  115. data/lib/language_server/protocol/interfaces.rb +87 -0
  116. data/lib/language_server/version.rb +3 -0
  117. data/lib/language_server.rb +176 -0
  118. data/package.json +10 -0
  119. data/scripts/generateFiles.ts +224 -0
  120. data/yarn.lock +295 -0
  121. metadata +220 -0
metadata ADDED
@@ -0,0 +1,220 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: language_server
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Fumiaki MATSUSHIMA
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.14'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: ''
70
+ email:
71
+ - mtsmfm@gmail.com
72
+ executables:
73
+ - language_server
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - ".gitignore"
78
+ - CODE_OF_CONDUCT.md
79
+ - Dockerfile
80
+ - Dockerfile.production
81
+ - Gemfile
82
+ - LICENSE.txt
83
+ - README.md
84
+ - Rakefile
85
+ - bin/console
86
+ - bin/generate_files
87
+ - bin/setup
88
+ - docker-compose.yml
89
+ - exe/language_server
90
+ - language_server.gemspec
91
+ - lib/language_server.rb
92
+ - lib/language_server/protocol/constants.rb
93
+ - lib/language_server/protocol/constants/completion_item_kind.rb
94
+ - lib/language_server/protocol/constants/diagnostic_severity.rb
95
+ - lib/language_server/protocol/constants/document_highlight_kind.rb
96
+ - lib/language_server/protocol/constants/error_codes.rb
97
+ - lib/language_server/protocol/constants/file_change_type.rb
98
+ - lib/language_server/protocol/constants/initialize_error.rb
99
+ - lib/language_server/protocol/constants/insert_text_format.rb
100
+ - lib/language_server/protocol/constants/message_type.rb
101
+ - lib/language_server/protocol/constants/symbol_kind.rb
102
+ - lib/language_server/protocol/constants/text_document_save_reason.rb
103
+ - lib/language_server/protocol/constants/text_document_sync_kind.rb
104
+ - lib/language_server/protocol/interfaces.rb
105
+ - lib/language_server/protocol/interfaces/apply_workspace_edit_params.rb
106
+ - lib/language_server/protocol/interfaces/apply_workspace_edit_response.rb
107
+ - lib/language_server/protocol/interfaces/cancel_params.rb
108
+ - lib/language_server/protocol/interfaces/client_capabilities.rb
109
+ - lib/language_server/protocol/interfaces/code_action_context.rb
110
+ - lib/language_server/protocol/interfaces/code_action_params.rb
111
+ - lib/language_server/protocol/interfaces/code_lens.rb
112
+ - lib/language_server/protocol/interfaces/code_lens_options.rb
113
+ - lib/language_server/protocol/interfaces/code_lens_params.rb
114
+ - lib/language_server/protocol/interfaces/code_lens_registration_options.rb
115
+ - lib/language_server/protocol/interfaces/command.rb
116
+ - lib/language_server/protocol/interfaces/completion_item.rb
117
+ - lib/language_server/protocol/interfaces/completion_list.rb
118
+ - lib/language_server/protocol/interfaces/completion_options.rb
119
+ - lib/language_server/protocol/interfaces/completion_registration_options.rb
120
+ - lib/language_server/protocol/interfaces/diagnostic.rb
121
+ - lib/language_server/protocol/interfaces/did_change_configuration_params.rb
122
+ - lib/language_server/protocol/interfaces/did_change_text_document_params.rb
123
+ - lib/language_server/protocol/interfaces/did_change_watched_files_params.rb
124
+ - lib/language_server/protocol/interfaces/did_close_text_document_params.rb
125
+ - lib/language_server/protocol/interfaces/did_open_text_document_params.rb
126
+ - lib/language_server/protocol/interfaces/did_save_text_document_params.rb
127
+ - lib/language_server/protocol/interfaces/document_filter.rb
128
+ - lib/language_server/protocol/interfaces/document_formatting_params.rb
129
+ - lib/language_server/protocol/interfaces/document_highlight.rb
130
+ - lib/language_server/protocol/interfaces/document_link.rb
131
+ - lib/language_server/protocol/interfaces/document_link_options.rb
132
+ - lib/language_server/protocol/interfaces/document_link_params.rb
133
+ - lib/language_server/protocol/interfaces/document_link_registration_options.rb
134
+ - lib/language_server/protocol/interfaces/document_on_type_formatting_options.rb
135
+ - lib/language_server/protocol/interfaces/document_on_type_formatting_params.rb
136
+ - lib/language_server/protocol/interfaces/document_on_type_formatting_registration_options.rb
137
+ - lib/language_server/protocol/interfaces/document_range_formatting_params.rb
138
+ - lib/language_server/protocol/interfaces/document_symbol_params.rb
139
+ - lib/language_server/protocol/interfaces/execute_command_options.rb
140
+ - lib/language_server/protocol/interfaces/execute_command_params.rb
141
+ - lib/language_server/protocol/interfaces/execute_command_registration_options.rb
142
+ - lib/language_server/protocol/interfaces/file_event.rb
143
+ - lib/language_server/protocol/interfaces/formatting_options.rb
144
+ - lib/language_server/protocol/interfaces/hover.rb
145
+ - lib/language_server/protocol/interfaces/initialize_error.rb
146
+ - lib/language_server/protocol/interfaces/initialize_params.rb
147
+ - lib/language_server/protocol/interfaces/initialize_result.rb
148
+ - lib/language_server/protocol/interfaces/location.rb
149
+ - lib/language_server/protocol/interfaces/log_message_params.rb
150
+ - lib/language_server/protocol/interfaces/message.rb
151
+ - lib/language_server/protocol/interfaces/message_action_item.rb
152
+ - lib/language_server/protocol/interfaces/notification_message.rb
153
+ - lib/language_server/protocol/interfaces/parameter_information.rb
154
+ - lib/language_server/protocol/interfaces/position.rb
155
+ - lib/language_server/protocol/interfaces/publish_diagnostics_params.rb
156
+ - lib/language_server/protocol/interfaces/range.rb
157
+ - lib/language_server/protocol/interfaces/reference_context.rb
158
+ - lib/language_server/protocol/interfaces/reference_params.rb
159
+ - lib/language_server/protocol/interfaces/registration.rb
160
+ - lib/language_server/protocol/interfaces/registration_params.rb
161
+ - lib/language_server/protocol/interfaces/rename_params.rb
162
+ - lib/language_server/protocol/interfaces/request_message.rb
163
+ - lib/language_server/protocol/interfaces/response_error.rb
164
+ - lib/language_server/protocol/interfaces/response_message.rb
165
+ - lib/language_server/protocol/interfaces/save_options.rb
166
+ - lib/language_server/protocol/interfaces/server_capabilities.rb
167
+ - lib/language_server/protocol/interfaces/show_message_params.rb
168
+ - lib/language_server/protocol/interfaces/show_message_request_params.rb
169
+ - lib/language_server/protocol/interfaces/signature_help.rb
170
+ - lib/language_server/protocol/interfaces/signature_help_options.rb
171
+ - lib/language_server/protocol/interfaces/signature_help_registration_options.rb
172
+ - lib/language_server/protocol/interfaces/signature_information.rb
173
+ - lib/language_server/protocol/interfaces/symbol_information.rb
174
+ - lib/language_server/protocol/interfaces/text_document_change_registration_options.rb
175
+ - lib/language_server/protocol/interfaces/text_document_client_capabilities.rb
176
+ - lib/language_server/protocol/interfaces/text_document_content_change_event.rb
177
+ - lib/language_server/protocol/interfaces/text_document_edit.rb
178
+ - lib/language_server/protocol/interfaces/text_document_identifier.rb
179
+ - lib/language_server/protocol/interfaces/text_document_item.rb
180
+ - lib/language_server/protocol/interfaces/text_document_position_params.rb
181
+ - lib/language_server/protocol/interfaces/text_document_registration_options.rb
182
+ - lib/language_server/protocol/interfaces/text_document_save_registration_options.rb
183
+ - lib/language_server/protocol/interfaces/text_document_sync_options.rb
184
+ - lib/language_server/protocol/interfaces/text_edit.rb
185
+ - lib/language_server/protocol/interfaces/unregistration.rb
186
+ - lib/language_server/protocol/interfaces/unregistration_params.rb
187
+ - lib/language_server/protocol/interfaces/versioned_text_document_identifier.rb
188
+ - lib/language_server/protocol/interfaces/will_save_text_document_params.rb
189
+ - lib/language_server/protocol/interfaces/workspace_client_capabilites.rb
190
+ - lib/language_server/protocol/interfaces/workspace_edit.rb
191
+ - lib/language_server/protocol/interfaces/workspace_symbol_params.rb
192
+ - lib/language_server/version.rb
193
+ - package.json
194
+ - scripts/generateFiles.ts
195
+ - yarn.lock
196
+ homepage: https://github.com/mtsmfm/language_server-ruby
197
+ licenses:
198
+ - MIT
199
+ metadata: {}
200
+ post_install_message:
201
+ rdoc_options: []
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ requirements: []
215
+ rubyforge_project:
216
+ rubygems_version: 2.6.12
217
+ signing_key:
218
+ specification_version: 4
219
+ summary: ''
220
+ test_files: []