language_server 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Dockerfile +13 -0
- data/Dockerfile.production +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +10 -0
- data/bin/console +11 -0
- data/bin/generate_files +3 -0
- data/bin/setup +8 -0
- data/docker-compose.yml +20 -0
- data/exe/language_server +8 -0
- data/language_server.gemspec +28 -0
- data/lib/language_server/protocol/constants/completion_item_kind.rb +29 -0
- data/lib/language_server/protocol/constants/diagnostic_severity.rb +24 -0
- data/lib/language_server/protocol/constants/document_highlight_kind.rb +23 -0
- data/lib/language_server/protocol/constants/error_codes.rb +18 -0
- data/lib/language_server/protocol/constants/file_change_type.rb +23 -0
- data/lib/language_server/protocol/constants/initialize_error.rb +15 -0
- data/lib/language_server/protocol/constants/insert_text_format.rb +27 -0
- data/lib/language_server/protocol/constants/message_type.rb +24 -0
- data/lib/language_server/protocol/constants/symbol_kind.rb +29 -0
- data/lib/language_server/protocol/constants/text_document_save_reason.rb +24 -0
- data/lib/language_server/protocol/constants/text_document_sync_kind.rb +26 -0
- data/lib/language_server/protocol/constants.rb +11 -0
- data/lib/language_server/protocol/interfaces/apply_workspace_edit_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/apply_workspace_edit_response.rb +29 -0
- data/lib/language_server/protocol/interfaces/cancel_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/client_capabilities.rb +47 -0
- data/lib/language_server/protocol/interfaces/code_action_context.rb +33 -0
- data/lib/language_server/protocol/interfaces/code_action_params.rb +50 -0
- data/lib/language_server/protocol/interfaces/code_lens.rb +55 -0
- data/lib/language_server/protocol/interfaces/code_lens_options.rb +32 -0
- data/lib/language_server/protocol/interfaces/code_lens_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/code_lens_registration_options.rb +29 -0
- data/lib/language_server/protocol/interfaces/command.rb +48 -0
- data/lib/language_server/protocol/interfaces/completion_item.rb +145 -0
- data/lib/language_server/protocol/interfaces/completion_list.rb +43 -0
- data/lib/language_server/protocol/interfaces/completion_options.rb +42 -0
- data/lib/language_server/protocol/interfaces/completion_registration_options.rb +39 -0
- data/lib/language_server/protocol/interfaces/diagnostic.rb +67 -0
- data/lib/language_server/protocol/interfaces/did_change_configuration_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/did_change_text_document_params.rb +40 -0
- data/lib/language_server/protocol/interfaces/did_change_watched_files_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/did_close_text_document_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/did_open_text_document_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/did_save_text_document_params.rb +39 -0
- data/lib/language_server/protocol/interfaces/document_filter.rb +47 -0
- data/lib/language_server/protocol/interfaces/document_formatting_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/document_highlight.rb +43 -0
- data/lib/language_server/protocol/interfaces/document_link.rb +42 -0
- data/lib/language_server/protocol/interfaces/document_link_options.rb +32 -0
- data/lib/language_server/protocol/interfaces/document_link_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/document_link_registration_options.rb +29 -0
- data/lib/language_server/protocol/interfaces/document_on_type_formatting_options.rb +41 -0
- data/lib/language_server/protocol/interfaces/document_on_type_formatting_params.rb +56 -0
- data/lib/language_server/protocol/interfaces/document_on_type_formatting_registration_options.rb +38 -0
- data/lib/language_server/protocol/interfaces/document_range_formatting_params.rb +47 -0
- data/lib/language_server/protocol/interfaces/document_symbol_params.rb +29 -0
- data/lib/language_server/protocol/interfaces/execute_command_options.rb +32 -0
- data/lib/language_server/protocol/interfaces/execute_command_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/execute_command_registration_options.rb +32 -0
- data/lib/language_server/protocol/interfaces/file_event.rb +41 -0
- data/lib/language_server/protocol/interfaces/formatting_options.rb +41 -0
- data/lib/language_server/protocol/interfaces/hover.rb +42 -0
- data/lib/language_server/protocol/interfaces/initialize_error.rb +35 -0
- data/lib/language_server/protocol/interfaces/initialize_params.rb +79 -0
- data/lib/language_server/protocol/interfaces/initialize_result.rb +29 -0
- data/lib/language_server/protocol/interfaces/location.rb +32 -0
- data/lib/language_server/protocol/interfaces/log_message_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/message.rb +26 -0
- data/lib/language_server/protocol/interfaces/message_action_item.rb +29 -0
- data/lib/language_server/protocol/interfaces/notification_message.rb +38 -0
- data/lib/language_server/protocol/interfaces/parameter_information.rb +44 -0
- data/lib/language_server/protocol/interfaces/position.rb +38 -0
- data/lib/language_server/protocol/interfaces/publish_diagnostics_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/range.rb +38 -0
- data/lib/language_server/protocol/interfaces/reference_context.rb +29 -0
- data/lib/language_server/protocol/interfaces/reference_params.rb +26 -0
- data/lib/language_server/protocol/interfaces/registration.rb +51 -0
- data/lib/language_server/protocol/interfaces/registration_params.rb +26 -0
- data/lib/language_server/protocol/interfaces/rename_params.rb +49 -0
- data/lib/language_server/protocol/interfaces/request_message.rb +47 -0
- data/lib/language_server/protocol/interfaces/response_error.rb +48 -0
- data/lib/language_server/protocol/interfaces/response_message.rb +48 -0
- data/lib/language_server/protocol/interfaces/save_options.rb +32 -0
- data/lib/language_server/protocol/interfaces/server_capabilities.rb +183 -0
- data/lib/language_server/protocol/interfaces/show_message_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/show_message_request_params.rb +47 -0
- data/lib/language_server/protocol/interfaces/signature_help.rb +64 -0
- data/lib/language_server/protocol/interfaces/signature_help_options.rb +33 -0
- data/lib/language_server/protocol/interfaces/signature_help_registration_options.rb +30 -0
- data/lib/language_server/protocol/interfaces/signature_information.rb +54 -0
- data/lib/language_server/protocol/interfaces/symbol_information.rb +60 -0
- data/lib/language_server/protocol/interfaces/text_document_change_registration_options.rb +33 -0
- data/lib/language_server/protocol/interfaces/text_document_client_capabilities.rb +155 -0
- data/lib/language_server/protocol/interfaces/text_document_content_change_event.rb +51 -0
- data/lib/language_server/protocol/interfaces/text_document_edit.rb +38 -0
- data/lib/language_server/protocol/interfaces/text_document_identifier.rb +29 -0
- data/lib/language_server/protocol/interfaces/text_document_item.rb +57 -0
- data/lib/language_server/protocol/interfaces/text_document_position_params.rb +38 -0
- data/lib/language_server/protocol/interfaces/text_document_registration_options.rb +30 -0
- data/lib/language_server/protocol/interfaces/text_document_save_registration_options.rb +29 -0
- data/lib/language_server/protocol/interfaces/text_document_sync_options.rb +66 -0
- data/lib/language_server/protocol/interfaces/text_edit.rb +40 -0
- data/lib/language_server/protocol/interfaces/unregistration.rb +42 -0
- data/lib/language_server/protocol/interfaces/unregistration_params.rb +26 -0
- data/lib/language_server/protocol/interfaces/versioned_text_document_identifier.rb +29 -0
- data/lib/language_server/protocol/interfaces/will_save_text_document_params.rb +41 -0
- data/lib/language_server/protocol/interfaces/workspace_client_capabilites.rb +78 -0
- data/lib/language_server/protocol/interfaces/workspace_edit.rb +40 -0
- data/lib/language_server/protocol/interfaces/workspace_symbol_params.rb +32 -0
- data/lib/language_server/protocol/interfaces.rb +87 -0
- data/lib/language_server/version.rb +3 -0
- data/lib/language_server.rb +176 -0
- data/package.json +10 -0
- data/scripts/generateFiles.ts +224 -0
- data/yarn.lock +295 -0
- 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: []
|