language_server-protocol 3.15.0.2 → 3.16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/language_server/protocol/constant.rb +10 -0
- data/lib/language_server/protocol/constant/code_action_kind.rb +6 -4
- data/lib/language_server/protocol/constant/completion_item_tag.rb +2 -2
- data/lib/language_server/protocol/constant/completion_trigger_kind.rb +2 -1
- data/lib/language_server/protocol/constant/diagnostic_tag.rb +2 -2
- data/lib/language_server/protocol/constant/error_codes.rb +26 -3
- data/lib/language_server/protocol/constant/failure_handling_kind.rb +6 -5
- data/lib/language_server/protocol/constant/file_operation_pattern_kind.rb +20 -0
- data/lib/language_server/protocol/constant/initialize_error.rb +2 -1
- data/lib/language_server/protocol/constant/insert_text_mode.rb +30 -0
- data/lib/language_server/protocol/constant/prepare_support_default_behavior.rb +13 -0
- data/lib/language_server/protocol/constant/signature_help_trigger_kind.rb +2 -1
- data/lib/language_server/protocol/constant/symbol_tag.rb +15 -0
- data/lib/language_server/protocol/constant/text_document_save_reason.rb +2 -2
- data/lib/language_server/protocol/constant/text_document_sync_kind.rb +2 -2
- data/lib/language_server/protocol/constant/token_format.rb +9 -0
- data/lib/language_server/protocol/interface.rb +112 -0
- data/lib/language_server/protocol/interface/annotated_text_edit.rb +38 -0
- data/lib/language_server/protocol/interface/apply_workspace_edit_response.rb +15 -4
- data/lib/language_server/protocol/interface/call_hierarchy_client_capabilities.rb +36 -0
- data/lib/language_server/protocol/interface/call_hierarchy_incoming_call.rb +43 -0
- data/lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb +31 -0
- data/lib/language_server/protocol/interface/call_hierarchy_item.rb +100 -0
- data/lib/language_server/protocol/interface/call_hierarchy_options.rb +25 -0
- data/lib/language_server/protocol/interface/call_hierarchy_outgoing_call.rb +43 -0
- data/lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb +31 -0
- data/lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb +25 -0
- data/lib/language_server/protocol/interface/call_hierarchy_registration_options.rb +25 -0
- data/lib/language_server/protocol/interface/change_annotation.rb +57 -0
- data/lib/language_server/protocol/interface/client_capabilities.rb +12 -3
- data/lib/language_server/protocol/interface/code_action.rb +43 -8
- data/lib/language_server/protocol/interface/code_action_client_capabilities.rb +44 -1
- data/lib/language_server/protocol/interface/code_action_context.rb +7 -6
- data/lib/language_server/protocol/interface/code_action_options.rb +13 -3
- data/lib/language_server/protocol/interface/code_action_registration_options.rb +2 -1
- data/lib/language_server/protocol/interface/code_description.rb +36 -0
- data/lib/language_server/protocol/interface/code_lens.rb +5 -3
- data/lib/language_server/protocol/interface/code_lens_workspace_client_capabilities.rb +39 -0
- data/lib/language_server/protocol/interface/color_presentation.rb +7 -6
- data/lib/language_server/protocol/interface/completion_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/completion_context.rb +5 -3
- data/lib/language_server/protocol/interface/completion_item.rb +60 -29
- data/lib/language_server/protocol/interface/completion_list.rb +2 -2
- data/lib/language_server/protocol/interface/completion_options.rb +15 -12
- data/lib/language_server/protocol/interface/completion_params.rb +2 -1
- data/lib/language_server/protocol/interface/create_file.rb +10 -1
- data/lib/language_server/protocol/interface/create_files_params.rb +37 -0
- data/lib/language_server/protocol/interface/declaration_client_capabilities.rb +3 -3
- data/lib/language_server/protocol/interface/delete_file.rb +10 -1
- data/lib/language_server/protocol/interface/delete_files_params.rb +37 -0
- data/lib/language_server/protocol/interface/diagnostic.rb +21 -1
- data/lib/language_server/protocol/interface/diagnostic_related_information.rb +3 -3
- data/lib/language_server/protocol/interface/did_change_text_document_params.rb +11 -9
- data/lib/language_server/protocol/interface/did_change_watched_files_client_capabilities.rb +3 -3
- data/lib/language_server/protocol/interface/document_filter.rb +7 -3
- data/lib/language_server/protocol/interface/document_highlight.rb +1 -1
- data/lib/language_server/protocol/interface/document_link.rb +6 -5
- data/lib/language_server/protocol/interface/document_symbol.rb +23 -11
- data/lib/language_server/protocol/interface/document_symbol_client_capabilities.rb +24 -2
- data/lib/language_server/protocol/interface/document_symbol_options.rb +11 -1
- data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +2 -1
- data/lib/language_server/protocol/interface/file_create.rb +36 -0
- data/lib/language_server/protocol/interface/file_delete.rb +36 -0
- data/lib/language_server/protocol/interface/file_operation_filter.rb +46 -0
- data/lib/language_server/protocol/interface/file_operation_pattern.rb +67 -0
- data/lib/language_server/protocol/interface/file_operation_pattern_options.rb +36 -0
- data/lib/language_server/protocol/interface/file_operation_registration_options.rb +36 -0
- data/lib/language_server/protocol/interface/file_rename.rb +45 -0
- data/lib/language_server/protocol/interface/file_system_watcher.rb +7 -3
- data/lib/language_server/protocol/interface/folding_range.rb +17 -8
- data/lib/language_server/protocol/interface/folding_range_client_capabilities.rb +10 -7
- data/lib/language_server/protocol/interface/hover.rb +1 -1
- data/lib/language_server/protocol/interface/hover_client_capabilities.rb +3 -2
- data/lib/language_server/protocol/interface/implementation_client_capabilities.rb +3 -3
- data/lib/language_server/protocol/interface/initialize_params.rb +20 -5
- data/lib/language_server/protocol/interface/insert_replace_edit.rb +54 -0
- data/lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb +36 -0
- data/lib/language_server/protocol/interface/linked_editing_range_options.rb +25 -0
- data/lib/language_server/protocol/interface/linked_editing_range_params.rb +25 -0
- data/lib/language_server/protocol/interface/linked_editing_range_registration_options.rb +25 -0
- data/lib/language_server/protocol/interface/linked_editing_ranges.rb +45 -0
- data/lib/language_server/protocol/interface/location_link.rb +9 -7
- data/lib/language_server/protocol/interface/log_message_params.rb +1 -1
- data/lib/language_server/protocol/interface/log_trace_params.rb +43 -0
- data/lib/language_server/protocol/interface/markdown_client_capabilities.rb +45 -0
- data/lib/language_server/protocol/interface/markup_content.rb +9 -7
- data/lib/language_server/protocol/interface/moniker.rb +64 -0
- data/lib/language_server/protocol/interface/moniker_client_capabilities.rb +36 -0
- data/lib/language_server/protocol/interface/moniker_options.rb +25 -0
- data/lib/language_server/protocol/interface/moniker_params.rb +25 -0
- data/lib/language_server/protocol/interface/moniker_registration_options.rb +25 -0
- data/lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb +42 -0
- data/lib/language_server/protocol/interface/parameter_information.rb +7 -5
- data/lib/language_server/protocol/interface/partial_result_params.rb +3 -3
- data/lib/language_server/protocol/interface/position.rb +5 -5
- data/lib/language_server/protocol/interface/progress_params.rb +1 -1
- data/lib/language_server/protocol/interface/publish_diagnostics_client_capabilities.rb +21 -1
- data/lib/language_server/protocol/interface/publish_diagnostics_params.rb +2 -1
- data/lib/language_server/protocol/interface/regular_expressions_client_capabilities.rb +45 -0
- data/lib/language_server/protocol/interface/rename_client_capabilities.rb +27 -1
- data/lib/language_server/protocol/interface/rename_file.rb +10 -1
- data/lib/language_server/protocol/interface/rename_files_params.rb +38 -0
- data/lib/language_server/protocol/interface/selection_range.rb +2 -1
- data/lib/language_server/protocol/interface/selection_range_client_capabilities.rb +4 -3
- data/lib/language_server/protocol/interface/semantic_tokens.rb +45 -0
- data/lib/language_server/protocol/interface/semantic_tokens_client_capabilities.rb +97 -0
- data/lib/language_server/protocol/interface/semantic_tokens_delta.rb +40 -0
- data/lib/language_server/protocol/interface/semantic_tokens_delta_params.rb +44 -0
- data/lib/language_server/protocol/interface/semantic_tokens_delta_partial_result.rb +30 -0
- data/lib/language_server/protocol/interface/semantic_tokens_edit.rb +51 -0
- data/lib/language_server/protocol/interface/semantic_tokens_legend.rb +42 -0
- data/lib/language_server/protocol/interface/semantic_tokens_options.rb +53 -0
- data/lib/language_server/protocol/interface/semantic_tokens_params.rb +34 -0
- data/lib/language_server/protocol/interface/semantic_tokens_partial_result.rb +30 -0
- data/lib/language_server/protocol/interface/semantic_tokens_range_params.rb +43 -0
- data/lib/language_server/protocol/interface/semantic_tokens_registration_options.rb +25 -0
- data/lib/language_server/protocol/interface/semantic_tokens_workspace_client_capabilities.rb +39 -0
- data/lib/language_server/protocol/interface/server_capabilities.rb +47 -9
- data/lib/language_server/protocol/interface/set_trace_params.rb +33 -0
- data/lib/language_server/protocol/interface/show_document_client_capabilities.rb +37 -0
- data/lib/language_server/protocol/interface/show_document_params.rb +71 -0
- data/lib/language_server/protocol/interface/show_document_result.rb +36 -0
- data/lib/language_server/protocol/interface/show_message_params.rb +1 -1
- data/lib/language_server/protocol/interface/show_message_request_client_capabilities.rb +36 -0
- data/lib/language_server/protocol/interface/show_message_request_params.rb +1 -1
- data/lib/language_server/protocol/interface/signature_help.rb +3 -3
- data/lib/language_server/protocol/interface/signature_help_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/signature_help_context.rb +10 -7
- data/lib/language_server/protocol/interface/signature_help_options.rb +3 -2
- data/lib/language_server/protocol/interface/signature_help_params.rb +3 -2
- data/lib/language_server/protocol/interface/signature_information.rb +12 -1
- data/lib/language_server/protocol/interface/symbol_information.rb +10 -1
- data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +1 -1
- data/lib/language_server/protocol/interface/text_document_client_capabilities.rb +39 -2
- data/lib/language_server/protocol/interface/text_document_content_change_event.rb +2 -2
- data/lib/language_server/protocol/interface/text_document_edit.rb +2 -2
- data/lib/language_server/protocol/interface/text_document_registration_options.rb +3 -3
- data/lib/language_server/protocol/interface/text_document_sync_options.rb +13 -15
- data/lib/language_server/protocol/interface/type_definition_client_capabilities.rb +3 -3
- data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +3 -7
- 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 +3 -3
- data/lib/language_server/protocol/interface/work_done_progress_cancel_params.rb +1 -1
- data/lib/language_server/protocol/interface/work_done_progress_create_params.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 +5 -5
- data/lib/language_server/protocol/interface/workspace_edit.rb +24 -7
- data/lib/language_server/protocol/interface/workspace_edit_client_capabilities.rb +23 -1
- data/lib/language_server/protocol/interface/workspace_symbol_client_capabilities.rb +13 -2
- data/lib/language_server/protocol/version.rb +1 -1
- metadata +67 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00220a60292ca5389c9c868b6a353365ac849beb73f5c4ae31b2fe232b97cf12
|
4
|
+
data.tar.gz: 6dcfe25b611fb4bc0c2d84b92330d92009d928259cf4ef1c2efb5b64476beede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bca0506fe727899f789680333657d9ff2ec5f7e99124343dc1580cfcfa74e3ff7972da1f35cbd00617df25d0b5dbff8a05a055cdc72fb3cc5f7fff0227df39d8
|
7
|
+
data.tar.gz: 3ae1247e1ecdb1b5e1cf2a357a6b5057ce271707f6975181a1ef7fb51e160f379af7192c34cd72e2fe00bcbcd3061c1f5f87b4b6aaf144da7c524b1f00ebea08
|
data/README.md
CHANGED
@@ -83,4 +83,4 @@ The gem is available as open source under the terms of the [MIT License](http://
|
|
83
83
|
|
84
84
|
## Code of Conduct
|
85
85
|
|
86
|
-
Everyone interacting in the LanguageServer::Protocol project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
86
|
+
Everyone interacting in the LanguageServer::Protocol project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mtsmfm/language_server-protocol/blob/master/CODE_OF_CONDUCT.md).
|
@@ -11,16 +11,21 @@ module LanguageServer
|
|
11
11
|
autoload :ErrorCodes, "language_server/protocol/constant/error_codes"
|
12
12
|
autoload :FailureHandlingKind, "language_server/protocol/constant/failure_handling_kind"
|
13
13
|
autoload :FileChangeType, "language_server/protocol/constant/file_change_type"
|
14
|
+
autoload :FileOperationPatternKind, "language_server/protocol/constant/file_operation_pattern_kind"
|
14
15
|
autoload :InitializeError, "language_server/protocol/constant/initialize_error"
|
15
16
|
autoload :InsertTextFormat, "language_server/protocol/constant/insert_text_format"
|
17
|
+
autoload :InsertTextMode, "language_server/protocol/constant/insert_text_mode"
|
16
18
|
autoload :MarkupKind, "language_server/protocol/constant/markup_kind"
|
17
19
|
autoload :MessageType, "language_server/protocol/constant/message_type"
|
20
|
+
autoload :PrepareSupportDefaultBehavior, "language_server/protocol/constant/prepare_support_default_behavior"
|
18
21
|
autoload :ResourceOperationKind, "language_server/protocol/constant/resource_operation_kind"
|
19
22
|
autoload :SignatureHelpTriggerKind, "language_server/protocol/constant/signature_help_trigger_kind"
|
20
23
|
autoload :SymbolKind, "language_server/protocol/constant/symbol_kind"
|
24
|
+
autoload :SymbolTag, "language_server/protocol/constant/symbol_tag"
|
21
25
|
autoload :TextDocumentSaveReason, "language_server/protocol/constant/text_document_save_reason"
|
22
26
|
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
|
23
27
|
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
|
28
|
+
autoload :TokenFormat, "language_server/protocol/constant/token_format"
|
24
29
|
autoload :WatchKind, "language_server/protocol/constant/watch_kind"
|
25
30
|
|
26
31
|
require "language_server/protocol/constant/code_action_kind"
|
@@ -33,16 +38,21 @@ module LanguageServer
|
|
33
38
|
require "language_server/protocol/constant/error_codes"
|
34
39
|
require "language_server/protocol/constant/failure_handling_kind"
|
35
40
|
require "language_server/protocol/constant/file_change_type"
|
41
|
+
require "language_server/protocol/constant/file_operation_pattern_kind"
|
36
42
|
require "language_server/protocol/constant/initialize_error"
|
37
43
|
require "language_server/protocol/constant/insert_text_format"
|
44
|
+
require "language_server/protocol/constant/insert_text_mode"
|
38
45
|
require "language_server/protocol/constant/markup_kind"
|
39
46
|
require "language_server/protocol/constant/message_type"
|
47
|
+
require "language_server/protocol/constant/prepare_support_default_behavior"
|
40
48
|
require "language_server/protocol/constant/resource_operation_kind"
|
41
49
|
require "language_server/protocol/constant/signature_help_trigger_kind"
|
42
50
|
require "language_server/protocol/constant/symbol_kind"
|
51
|
+
require "language_server/protocol/constant/symbol_tag"
|
43
52
|
require "language_server/protocol/constant/text_document_save_reason"
|
44
53
|
require "language_server/protocol/constant/text_document_sync_kind"
|
45
54
|
require "language_server/protocol/constant/text_document_sync_kind"
|
55
|
+
require "language_server/protocol/constant/token_format"
|
46
56
|
require "language_server/protocol/constant/watch_kind"
|
47
57
|
end
|
48
58
|
end
|
@@ -4,10 +4,11 @@ module LanguageServer
|
|
4
4
|
#
|
5
5
|
# The kind of a code action.
|
6
6
|
#
|
7
|
-
# Kinds are a hierarchical list of identifiers separated by `.`,
|
7
|
+
# Kinds are a hierarchical list of identifiers separated by `.`,
|
8
|
+
# e.g. `"refactor.extract.function"`.
|
8
9
|
#
|
9
|
-
# The set of kinds is open and client needs to announce the kinds it supports
|
10
|
-
# initialization.
|
10
|
+
# The set of kinds is open and client needs to announce the kinds it supports
|
11
|
+
# to the server during initialization.
|
11
12
|
# A set of predefined code action kinds.
|
12
13
|
#
|
13
14
|
module CodeActionKind
|
@@ -66,7 +67,8 @@ module LanguageServer
|
|
66
67
|
#
|
67
68
|
SOURCE = 'source'
|
68
69
|
#
|
69
|
-
# Base kind for an organize imports source action:
|
70
|
+
# Base kind for an organize imports source action:
|
71
|
+
# `source.organizeImports`.
|
70
72
|
#
|
71
73
|
SOURCE_ORGANIZE_IMPORTS = 'source.organizeImports'
|
72
74
|
end
|
@@ -2,8 +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.
|
5
|
+
# Completion item tags are extra annotations that tweak the rendering of a
|
6
|
+
# completion item.
|
7
7
|
#
|
8
8
|
module CompletionItemTag
|
9
9
|
#
|
@@ -12,7 +12,8 @@ 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
|
#
|
@@ -8,8 +8,8 @@ module LanguageServer
|
|
8
8
|
#
|
9
9
|
# Unused or unnecessary code.
|
10
10
|
#
|
11
|
-
# Clients are allowed to render diagnostics with this tag faded out
|
12
|
-
# an error squiggle.
|
11
|
+
# Clients are allowed to render diagnostics with this tag faded out
|
12
|
+
# instead of having an error squiggle.
|
13
13
|
#
|
14
14
|
UNNECESSARY = 1
|
15
15
|
#
|
@@ -7,12 +7,35 @@ module LanguageServer
|
|
7
7
|
METHOD_NOT_FOUND = -32601
|
8
8
|
INVALID_PARAMS = -32602
|
9
9
|
INTERNAL_ERROR = -32603
|
10
|
-
|
11
|
-
|
10
|
+
#
|
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
|
13
|
+
# be defined between the start and end range. For backwards
|
14
|
+
# compatibility the `ServerNotInitialized` and the `UnknownErrorCode`
|
15
|
+
# are left in the range.
|
16
|
+
#
|
17
|
+
JSONRPC_RESERVED_ERROR_RANGE_START = -32099
|
18
|
+
SERVER_ERROR_START = JSONRPC_RESERVED_ERROR_RANGE_START
|
12
19
|
SERVER_NOT_INITIALIZED = -32002
|
13
20
|
UNKNOWN_ERROR_CODE = -32001
|
14
|
-
|
21
|
+
#
|
22
|
+
# This is the start range of JSON RPC reserved error codes.
|
23
|
+
# It doesn't denote a real error code.
|
24
|
+
#
|
25
|
+
JSONRPC_RESERVED_ERROR_RANGE_END = -32000
|
26
|
+
SERVER_ERROR_END = JSONRPC_RESERVED_ERROR_RANGE_END
|
27
|
+
#
|
28
|
+
# This is the start range of LSP reserved error codes.
|
29
|
+
# It doesn't denote a real error code.
|
30
|
+
#
|
31
|
+
LSP_RESERVED_ERROR_RANGE_START = -32899
|
15
32
|
CONTENT_MODIFIED = -32801
|
33
|
+
REQUEST_CANCELLED = -32800
|
34
|
+
#
|
35
|
+
# This is the end range of LSP reserved error codes.
|
36
|
+
# It doesn't denote a real error code.
|
37
|
+
#
|
38
|
+
LSP_RESERVED_ERROR_RANGE_END = -32800
|
16
39
|
end
|
17
40
|
end
|
18
41
|
end
|
@@ -3,8 +3,9 @@ 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
10
|
ABORT = 'abort'
|
10
11
|
#
|
@@ -13,9 +14,9 @@ module LanguageServer
|
|
13
14
|
#
|
14
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
21
|
TEXT_ONLY_TRANSACTIONAL = 'textOnlyTransactional'
|
21
22
|
#
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
#
|
5
|
+
# A pattern kind describing if a glob pattern matches a file a folder or
|
6
|
+
# both.
|
7
|
+
#
|
8
|
+
module FileOperationPatternKind
|
9
|
+
#
|
10
|
+
# The pattern matches a file only.
|
11
|
+
#
|
12
|
+
FILE = 'file'
|
13
|
+
#
|
14
|
+
# The pattern matches a folder only.
|
15
|
+
#
|
16
|
+
FOLDER = 'folder'
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -6,7 +6,8 @@ module LanguageServer
|
|
6
6
|
#
|
7
7
|
module InitializeError
|
8
8
|
#
|
9
|
-
# If the protocol version provided by the client can't be handled by the
|
9
|
+
# If the protocol version provided by the client can't be handled by the
|
10
|
+
# server.
|
10
11
|
#
|
11
12
|
UNKNOWN_PROTOCOL_VERSION = 1
|
12
13
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
#
|
5
|
+
# How whitespace and indentation is handled during completion
|
6
|
+
# item insertion.
|
7
|
+
#
|
8
|
+
module InsertTextMode
|
9
|
+
#
|
10
|
+
# The insertion or replace strings is taken as it is. If the
|
11
|
+
# value is multi line the lines below the cursor will be
|
12
|
+
# inserted using the indentation defined in the string value.
|
13
|
+
# The client will not apply any kind of adjustments to the
|
14
|
+
# string.
|
15
|
+
#
|
16
|
+
AS_IS = 1
|
17
|
+
#
|
18
|
+
# The editor adjusts leading whitespace of new lines so that
|
19
|
+
# they match the indentation up to the cursor of the line for
|
20
|
+
# which the item is accepted.
|
21
|
+
#
|
22
|
+
# Consider a line like this: <2tabs><cursor><3tabs>foo. Accepting a
|
23
|
+
# multi line completion item is indented using 2 tabs and all
|
24
|
+
# following lines inserted will be indented using 2 tabs as well.
|
25
|
+
#
|
26
|
+
ADJUST_INDENTATION = 2
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
module PrepareSupportDefaultBehavior
|
5
|
+
#
|
6
|
+
# The client's default behavior is to select the identifier
|
7
|
+
# according the to language's syntax rule.
|
8
|
+
#
|
9
|
+
IDENTIFIER = 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -14,7 +14,8 @@ module LanguageServer
|
|
14
14
|
#
|
15
15
|
TRIGGER_CHARACTER = 2
|
16
16
|
#
|
17
|
-
# Signature help was triggered by the cursor moving or by the document
|
17
|
+
# Signature help was triggered by the cursor moving or by the document
|
18
|
+
# content changing.
|
18
19
|
#
|
19
20
|
CONTENT_CHANGE = 3
|
20
21
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module LanguageServer
|
2
|
+
module Protocol
|
3
|
+
module Constant
|
4
|
+
#
|
5
|
+
# Symbol tags are extra annotations that tweak the rendering of a symbol.
|
6
|
+
#
|
7
|
+
module SymbolTag
|
8
|
+
#
|
9
|
+
# Render a symbol as obsolete, usually using a strike-out.
|
10
|
+
#
|
11
|
+
DEPRECATED = 1
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -6,8 +6,8 @@ module LanguageServer
|
|
6
6
|
#
|
7
7
|
module TextDocumentSaveReason
|
8
8
|
#
|
9
|
-
# Manually triggered, e.g. by the user pressing save, by starting
|
10
|
-
# or by an API call.
|
9
|
+
# Manually triggered, e.g. by the user pressing save, by starting
|
10
|
+
# debugging, or by an API call.
|
11
11
|
#
|
12
12
|
MANUAL = 1
|
13
13
|
#
|
@@ -2,8 +2,8 @@ module LanguageServer
|
|
2
2
|
module Protocol
|
3
3
|
module Constant
|
4
4
|
#
|
5
|
-
# Defines how the host (editor) should sync document changes to the language
|
6
|
-
#
|
5
|
+
# Defines how the host (editor) should sync document changes to the language
|
6
|
+
# server.
|
7
7
|
#
|
8
8
|
module TextDocumentSyncKind
|
9
9
|
#
|
@@ -1,9 +1,20 @@
|
|
1
1
|
module LanguageServer
|
2
2
|
module Protocol
|
3
3
|
module Interface
|
4
|
+
autoload :AnnotatedTextEdit, "language_server/protocol/interface/annotated_text_edit"
|
4
5
|
autoload :ApplyWorkspaceEditParams, "language_server/protocol/interface/apply_workspace_edit_params"
|
5
6
|
autoload :ApplyWorkspaceEditResponse, "language_server/protocol/interface/apply_workspace_edit_response"
|
7
|
+
autoload :CallHierarchyClientCapabilities, "language_server/protocol/interface/call_hierarchy_client_capabilities"
|
8
|
+
autoload :CallHierarchyIncomingCall, "language_server/protocol/interface/call_hierarchy_incoming_call"
|
9
|
+
autoload :CallHierarchyIncomingCallsParams, "language_server/protocol/interface/call_hierarchy_incoming_calls_params"
|
10
|
+
autoload :CallHierarchyItem, "language_server/protocol/interface/call_hierarchy_item"
|
11
|
+
autoload :CallHierarchyOptions, "language_server/protocol/interface/call_hierarchy_options"
|
12
|
+
autoload :CallHierarchyOutgoingCall, "language_server/protocol/interface/call_hierarchy_outgoing_call"
|
13
|
+
autoload :CallHierarchyOutgoingCallsParams, "language_server/protocol/interface/call_hierarchy_outgoing_calls_params"
|
14
|
+
autoload :CallHierarchyPrepareParams, "language_server/protocol/interface/call_hierarchy_prepare_params"
|
15
|
+
autoload :CallHierarchyRegistrationOptions, "language_server/protocol/interface/call_hierarchy_registration_options"
|
6
16
|
autoload :CancelParams, "language_server/protocol/interface/cancel_params"
|
17
|
+
autoload :ChangeAnnotation, "language_server/protocol/interface/change_annotation"
|
7
18
|
autoload :ClientCapabilities, "language_server/protocol/interface/client_capabilities"
|
8
19
|
autoload :CodeAction, "language_server/protocol/interface/code_action"
|
9
20
|
autoload :CodeActionClientCapabilities, "language_server/protocol/interface/code_action_client_capabilities"
|
@@ -11,11 +22,13 @@ module LanguageServer
|
|
11
22
|
autoload :CodeActionOptions, "language_server/protocol/interface/code_action_options"
|
12
23
|
autoload :CodeActionParams, "language_server/protocol/interface/code_action_params"
|
13
24
|
autoload :CodeActionRegistrationOptions, "language_server/protocol/interface/code_action_registration_options"
|
25
|
+
autoload :CodeDescription, "language_server/protocol/interface/code_description"
|
14
26
|
autoload :CodeLens, "language_server/protocol/interface/code_lens"
|
15
27
|
autoload :CodeLensClientCapabilities, "language_server/protocol/interface/code_lens_client_capabilities"
|
16
28
|
autoload :CodeLensOptions, "language_server/protocol/interface/code_lens_options"
|
17
29
|
autoload :CodeLensParams, "language_server/protocol/interface/code_lens_params"
|
18
30
|
autoload :CodeLensRegistrationOptions, "language_server/protocol/interface/code_lens_registration_options"
|
31
|
+
autoload :CodeLensWorkspaceClientCapabilities, "language_server/protocol/interface/code_lens_workspace_client_capabilities"
|
19
32
|
autoload :Color, "language_server/protocol/interface/color"
|
20
33
|
autoload :ColorInformation, "language_server/protocol/interface/color_information"
|
21
34
|
autoload :ColorPresentation, "language_server/protocol/interface/color_presentation"
|
@@ -32,6 +45,7 @@ module LanguageServer
|
|
32
45
|
autoload :ConfigurationParams, "language_server/protocol/interface/configuration_params"
|
33
46
|
autoload :CreateFile, "language_server/protocol/interface/create_file"
|
34
47
|
autoload :CreateFileOptions, "language_server/protocol/interface/create_file_options"
|
48
|
+
autoload :CreateFilesParams, "language_server/protocol/interface/create_files_params"
|
35
49
|
autoload :DeclarationClientCapabilities, "language_server/protocol/interface/declaration_client_capabilities"
|
36
50
|
autoload :DeclarationOptions, "language_server/protocol/interface/declaration_options"
|
37
51
|
autoload :DeclarationParams, "language_server/protocol/interface/declaration_params"
|
@@ -42,6 +56,7 @@ module LanguageServer
|
|
42
56
|
autoload :DefinitionRegistrationOptions, "language_server/protocol/interface/definition_registration_options"
|
43
57
|
autoload :DeleteFile, "language_server/protocol/interface/delete_file"
|
44
58
|
autoload :DeleteFileOptions, "language_server/protocol/interface/delete_file_options"
|
59
|
+
autoload :DeleteFilesParams, "language_server/protocol/interface/delete_files_params"
|
45
60
|
autoload :Diagnostic, "language_server/protocol/interface/diagnostic"
|
46
61
|
autoload :DiagnosticRelatedInformation, "language_server/protocol/interface/diagnostic_related_information"
|
47
62
|
autoload :DidChangeConfigurationClientCapabilities, "language_server/protocol/interface/did_change_configuration_client_capabilities"
|
@@ -90,7 +105,14 @@ module LanguageServer
|
|
90
105
|
autoload :ExecuteCommandOptions, "language_server/protocol/interface/execute_command_options"
|
91
106
|
autoload :ExecuteCommandParams, "language_server/protocol/interface/execute_command_params"
|
92
107
|
autoload :ExecuteCommandRegistrationOptions, "language_server/protocol/interface/execute_command_registration_options"
|
108
|
+
autoload :FileCreate, "language_server/protocol/interface/file_create"
|
109
|
+
autoload :FileDelete, "language_server/protocol/interface/file_delete"
|
93
110
|
autoload :FileEvent, "language_server/protocol/interface/file_event"
|
111
|
+
autoload :FileOperationFilter, "language_server/protocol/interface/file_operation_filter"
|
112
|
+
autoload :FileOperationPattern, "language_server/protocol/interface/file_operation_pattern"
|
113
|
+
autoload :FileOperationPatternOptions, "language_server/protocol/interface/file_operation_pattern_options"
|
114
|
+
autoload :FileOperationRegistrationOptions, "language_server/protocol/interface/file_operation_registration_options"
|
115
|
+
autoload :FileRename, "language_server/protocol/interface/file_rename"
|
94
116
|
autoload :FileSystemWatcher, "language_server/protocol/interface/file_system_watcher"
|
95
117
|
autoload :FoldingRange, "language_server/protocol/interface/folding_range"
|
96
118
|
autoload :FoldingRangeClientCapabilities, "language_server/protocol/interface/folding_range_client_capabilities"
|
@@ -111,13 +133,27 @@ module LanguageServer
|
|
111
133
|
autoload :InitializeParams, "language_server/protocol/interface/initialize_params"
|
112
134
|
autoload :InitializeResult, "language_server/protocol/interface/initialize_result"
|
113
135
|
autoload :InitializedParams, "language_server/protocol/interface/initialized_params"
|
136
|
+
autoload :InsertReplaceEdit, "language_server/protocol/interface/insert_replace_edit"
|
137
|
+
autoload :LinkedEditingRangeClientCapabilities, "language_server/protocol/interface/linked_editing_range_client_capabilities"
|
138
|
+
autoload :LinkedEditingRangeOptions, "language_server/protocol/interface/linked_editing_range_options"
|
139
|
+
autoload :LinkedEditingRangeParams, "language_server/protocol/interface/linked_editing_range_params"
|
140
|
+
autoload :LinkedEditingRangeRegistrationOptions, "language_server/protocol/interface/linked_editing_range_registration_options"
|
141
|
+
autoload :LinkedEditingRanges, "language_server/protocol/interface/linked_editing_ranges"
|
114
142
|
autoload :Location, "language_server/protocol/interface/location"
|
115
143
|
autoload :LocationLink, "language_server/protocol/interface/location_link"
|
116
144
|
autoload :LogMessageParams, "language_server/protocol/interface/log_message_params"
|
145
|
+
autoload :LogTraceParams, "language_server/protocol/interface/log_trace_params"
|
146
|
+
autoload :MarkdownClientCapabilities, "language_server/protocol/interface/markdown_client_capabilities"
|
117
147
|
autoload :MarkupContent, "language_server/protocol/interface/markup_content"
|
118
148
|
autoload :Message, "language_server/protocol/interface/message"
|
119
149
|
autoload :MessageActionItem, "language_server/protocol/interface/message_action_item"
|
150
|
+
autoload :Moniker, "language_server/protocol/interface/moniker"
|
151
|
+
autoload :MonikerClientCapabilities, "language_server/protocol/interface/moniker_client_capabilities"
|
152
|
+
autoload :MonikerOptions, "language_server/protocol/interface/moniker_options"
|
153
|
+
autoload :MonikerParams, "language_server/protocol/interface/moniker_params"
|
154
|
+
autoload :MonikerRegistrationOptions, "language_server/protocol/interface/moniker_registration_options"
|
120
155
|
autoload :NotificationMessage, "language_server/protocol/interface/notification_message"
|
156
|
+
autoload :OptionalVersionedTextDocumentIdentifier, "language_server/protocol/interface/optional_versioned_text_document_identifier"
|
121
157
|
autoload :ParameterInformation, "language_server/protocol/interface/parameter_information"
|
122
158
|
autoload :PartialResultParams, "language_server/protocol/interface/partial_result_params"
|
123
159
|
autoload :Position, "language_server/protocol/interface/position"
|
@@ -133,9 +169,11 @@ module LanguageServer
|
|
133
169
|
autoload :ReferenceRegistrationOptions, "language_server/protocol/interface/reference_registration_options"
|
134
170
|
autoload :Registration, "language_server/protocol/interface/registration"
|
135
171
|
autoload :RegistrationParams, "language_server/protocol/interface/registration_params"
|
172
|
+
autoload :RegularExpressionsClientCapabilities, "language_server/protocol/interface/regular_expressions_client_capabilities"
|
136
173
|
autoload :RenameClientCapabilities, "language_server/protocol/interface/rename_client_capabilities"
|
137
174
|
autoload :RenameFile, "language_server/protocol/interface/rename_file"
|
138
175
|
autoload :RenameFileOptions, "language_server/protocol/interface/rename_file_options"
|
176
|
+
autoload :RenameFilesParams, "language_server/protocol/interface/rename_files_params"
|
139
177
|
autoload :RenameOptions, "language_server/protocol/interface/rename_options"
|
140
178
|
autoload :RenameParams, "language_server/protocol/interface/rename_params"
|
141
179
|
autoload :RenameRegistrationOptions, "language_server/protocol/interface/rename_registration_options"
|
@@ -148,8 +186,26 @@ module LanguageServer
|
|
148
186
|
autoload :SelectionRangeOptions, "language_server/protocol/interface/selection_range_options"
|
149
187
|
autoload :SelectionRangeParams, "language_server/protocol/interface/selection_range_params"
|
150
188
|
autoload :SelectionRangeRegistrationOptions, "language_server/protocol/interface/selection_range_registration_options"
|
189
|
+
autoload :SemanticTokens, "language_server/protocol/interface/semantic_tokens"
|
190
|
+
autoload :SemanticTokensClientCapabilities, "language_server/protocol/interface/semantic_tokens_client_capabilities"
|
191
|
+
autoload :SemanticTokensDelta, "language_server/protocol/interface/semantic_tokens_delta"
|
192
|
+
autoload :SemanticTokensDeltaParams, "language_server/protocol/interface/semantic_tokens_delta_params"
|
193
|
+
autoload :SemanticTokensDeltaPartialResult, "language_server/protocol/interface/semantic_tokens_delta_partial_result"
|
194
|
+
autoload :SemanticTokensEdit, "language_server/protocol/interface/semantic_tokens_edit"
|
195
|
+
autoload :SemanticTokensLegend, "language_server/protocol/interface/semantic_tokens_legend"
|
196
|
+
autoload :SemanticTokensOptions, "language_server/protocol/interface/semantic_tokens_options"
|
197
|
+
autoload :SemanticTokensParams, "language_server/protocol/interface/semantic_tokens_params"
|
198
|
+
autoload :SemanticTokensPartialResult, "language_server/protocol/interface/semantic_tokens_partial_result"
|
199
|
+
autoload :SemanticTokensRangeParams, "language_server/protocol/interface/semantic_tokens_range_params"
|
200
|
+
autoload :SemanticTokensRegistrationOptions, "language_server/protocol/interface/semantic_tokens_registration_options"
|
201
|
+
autoload :SemanticTokensWorkspaceClientCapabilities, "language_server/protocol/interface/semantic_tokens_workspace_client_capabilities"
|
151
202
|
autoload :ServerCapabilities, "language_server/protocol/interface/server_capabilities"
|
203
|
+
autoload :SetTraceParams, "language_server/protocol/interface/set_trace_params"
|
204
|
+
autoload :ShowDocumentClientCapabilities, "language_server/protocol/interface/show_document_client_capabilities"
|
205
|
+
autoload :ShowDocumentParams, "language_server/protocol/interface/show_document_params"
|
206
|
+
autoload :ShowDocumentResult, "language_server/protocol/interface/show_document_result"
|
152
207
|
autoload :ShowMessageParams, "language_server/protocol/interface/show_message_params"
|
208
|
+
autoload :ShowMessageRequestClientCapabilities, "language_server/protocol/interface/show_message_request_client_capabilities"
|
153
209
|
autoload :ShowMessageRequestParams, "language_server/protocol/interface/show_message_request_params"
|
154
210
|
autoload :SignatureHelp, "language_server/protocol/interface/signature_help"
|
155
211
|
autoload :SignatureHelpClientCapabilities, "language_server/protocol/interface/signature_help_client_capabilities"
|
@@ -198,9 +254,20 @@ module LanguageServer
|
|
198
254
|
autoload :WorkspaceSymbolParams, "language_server/protocol/interface/workspace_symbol_params"
|
199
255
|
autoload :WorkspaceSymbolRegistrationOptions, "language_server/protocol/interface/workspace_symbol_registration_options"
|
200
256
|
|
257
|
+
require "language_server/protocol/interface/annotated_text_edit"
|
201
258
|
require "language_server/protocol/interface/apply_workspace_edit_params"
|
202
259
|
require "language_server/protocol/interface/apply_workspace_edit_response"
|
260
|
+
require "language_server/protocol/interface/call_hierarchy_client_capabilities"
|
261
|
+
require "language_server/protocol/interface/call_hierarchy_incoming_call"
|
262
|
+
require "language_server/protocol/interface/call_hierarchy_incoming_calls_params"
|
263
|
+
require "language_server/protocol/interface/call_hierarchy_item"
|
264
|
+
require "language_server/protocol/interface/call_hierarchy_options"
|
265
|
+
require "language_server/protocol/interface/call_hierarchy_outgoing_call"
|
266
|
+
require "language_server/protocol/interface/call_hierarchy_outgoing_calls_params"
|
267
|
+
require "language_server/protocol/interface/call_hierarchy_prepare_params"
|
268
|
+
require "language_server/protocol/interface/call_hierarchy_registration_options"
|
203
269
|
require "language_server/protocol/interface/cancel_params"
|
270
|
+
require "language_server/protocol/interface/change_annotation"
|
204
271
|
require "language_server/protocol/interface/client_capabilities"
|
205
272
|
require "language_server/protocol/interface/code_action"
|
206
273
|
require "language_server/protocol/interface/code_action_client_capabilities"
|
@@ -208,11 +275,13 @@ module LanguageServer
|
|
208
275
|
require "language_server/protocol/interface/code_action_options"
|
209
276
|
require "language_server/protocol/interface/code_action_params"
|
210
277
|
require "language_server/protocol/interface/code_action_registration_options"
|
278
|
+
require "language_server/protocol/interface/code_description"
|
211
279
|
require "language_server/protocol/interface/code_lens"
|
212
280
|
require "language_server/protocol/interface/code_lens_client_capabilities"
|
213
281
|
require "language_server/protocol/interface/code_lens_options"
|
214
282
|
require "language_server/protocol/interface/code_lens_params"
|
215
283
|
require "language_server/protocol/interface/code_lens_registration_options"
|
284
|
+
require "language_server/protocol/interface/code_lens_workspace_client_capabilities"
|
216
285
|
require "language_server/protocol/interface/color"
|
217
286
|
require "language_server/protocol/interface/color_information"
|
218
287
|
require "language_server/protocol/interface/color_presentation"
|
@@ -229,6 +298,7 @@ module LanguageServer
|
|
229
298
|
require "language_server/protocol/interface/configuration_params"
|
230
299
|
require "language_server/protocol/interface/create_file"
|
231
300
|
require "language_server/protocol/interface/create_file_options"
|
301
|
+
require "language_server/protocol/interface/create_files_params"
|
232
302
|
require "language_server/protocol/interface/declaration_client_capabilities"
|
233
303
|
require "language_server/protocol/interface/declaration_options"
|
234
304
|
require "language_server/protocol/interface/declaration_params"
|
@@ -239,6 +309,7 @@ module LanguageServer
|
|
239
309
|
require "language_server/protocol/interface/definition_registration_options"
|
240
310
|
require "language_server/protocol/interface/delete_file"
|
241
311
|
require "language_server/protocol/interface/delete_file_options"
|
312
|
+
require "language_server/protocol/interface/delete_files_params"
|
242
313
|
require "language_server/protocol/interface/diagnostic"
|
243
314
|
require "language_server/protocol/interface/diagnostic_related_information"
|
244
315
|
require "language_server/protocol/interface/did_change_configuration_client_capabilities"
|
@@ -287,7 +358,14 @@ module LanguageServer
|
|
287
358
|
require "language_server/protocol/interface/execute_command_options"
|
288
359
|
require "language_server/protocol/interface/execute_command_params"
|
289
360
|
require "language_server/protocol/interface/execute_command_registration_options"
|
361
|
+
require "language_server/protocol/interface/file_create"
|
362
|
+
require "language_server/protocol/interface/file_delete"
|
290
363
|
require "language_server/protocol/interface/file_event"
|
364
|
+
require "language_server/protocol/interface/file_operation_filter"
|
365
|
+
require "language_server/protocol/interface/file_operation_pattern"
|
366
|
+
require "language_server/protocol/interface/file_operation_pattern_options"
|
367
|
+
require "language_server/protocol/interface/file_operation_registration_options"
|
368
|
+
require "language_server/protocol/interface/file_rename"
|
291
369
|
require "language_server/protocol/interface/file_system_watcher"
|
292
370
|
require "language_server/protocol/interface/folding_range"
|
293
371
|
require "language_server/protocol/interface/folding_range_client_capabilities"
|
@@ -308,13 +386,27 @@ module LanguageServer
|
|
308
386
|
require "language_server/protocol/interface/initialize_params"
|
309
387
|
require "language_server/protocol/interface/initialize_result"
|
310
388
|
require "language_server/protocol/interface/initialized_params"
|
389
|
+
require "language_server/protocol/interface/insert_replace_edit"
|
390
|
+
require "language_server/protocol/interface/linked_editing_range_client_capabilities"
|
391
|
+
require "language_server/protocol/interface/linked_editing_range_options"
|
392
|
+
require "language_server/protocol/interface/linked_editing_range_params"
|
393
|
+
require "language_server/protocol/interface/linked_editing_range_registration_options"
|
394
|
+
require "language_server/protocol/interface/linked_editing_ranges"
|
311
395
|
require "language_server/protocol/interface/location"
|
312
396
|
require "language_server/protocol/interface/location_link"
|
313
397
|
require "language_server/protocol/interface/log_message_params"
|
398
|
+
require "language_server/protocol/interface/log_trace_params"
|
399
|
+
require "language_server/protocol/interface/markdown_client_capabilities"
|
314
400
|
require "language_server/protocol/interface/markup_content"
|
315
401
|
require "language_server/protocol/interface/message"
|
316
402
|
require "language_server/protocol/interface/message_action_item"
|
403
|
+
require "language_server/protocol/interface/moniker"
|
404
|
+
require "language_server/protocol/interface/moniker_client_capabilities"
|
405
|
+
require "language_server/protocol/interface/moniker_options"
|
406
|
+
require "language_server/protocol/interface/moniker_params"
|
407
|
+
require "language_server/protocol/interface/moniker_registration_options"
|
317
408
|
require "language_server/protocol/interface/notification_message"
|
409
|
+
require "language_server/protocol/interface/optional_versioned_text_document_identifier"
|
318
410
|
require "language_server/protocol/interface/parameter_information"
|
319
411
|
require "language_server/protocol/interface/partial_result_params"
|
320
412
|
require "language_server/protocol/interface/position"
|
@@ -330,9 +422,11 @@ module LanguageServer
|
|
330
422
|
require "language_server/protocol/interface/reference_registration_options"
|
331
423
|
require "language_server/protocol/interface/registration"
|
332
424
|
require "language_server/protocol/interface/registration_params"
|
425
|
+
require "language_server/protocol/interface/regular_expressions_client_capabilities"
|
333
426
|
require "language_server/protocol/interface/rename_client_capabilities"
|
334
427
|
require "language_server/protocol/interface/rename_file"
|
335
428
|
require "language_server/protocol/interface/rename_file_options"
|
429
|
+
require "language_server/protocol/interface/rename_files_params"
|
336
430
|
require "language_server/protocol/interface/rename_options"
|
337
431
|
require "language_server/protocol/interface/rename_params"
|
338
432
|
require "language_server/protocol/interface/rename_registration_options"
|
@@ -345,8 +439,26 @@ module LanguageServer
|
|
345
439
|
require "language_server/protocol/interface/selection_range_options"
|
346
440
|
require "language_server/protocol/interface/selection_range_params"
|
347
441
|
require "language_server/protocol/interface/selection_range_registration_options"
|
442
|
+
require "language_server/protocol/interface/semantic_tokens"
|
443
|
+
require "language_server/protocol/interface/semantic_tokens_client_capabilities"
|
444
|
+
require "language_server/protocol/interface/semantic_tokens_delta"
|
445
|
+
require "language_server/protocol/interface/semantic_tokens_delta_params"
|
446
|
+
require "language_server/protocol/interface/semantic_tokens_delta_partial_result"
|
447
|
+
require "language_server/protocol/interface/semantic_tokens_edit"
|
448
|
+
require "language_server/protocol/interface/semantic_tokens_legend"
|
449
|
+
require "language_server/protocol/interface/semantic_tokens_options"
|
450
|
+
require "language_server/protocol/interface/semantic_tokens_params"
|
451
|
+
require "language_server/protocol/interface/semantic_tokens_partial_result"
|
452
|
+
require "language_server/protocol/interface/semantic_tokens_range_params"
|
453
|
+
require "language_server/protocol/interface/semantic_tokens_registration_options"
|
454
|
+
require "language_server/protocol/interface/semantic_tokens_workspace_client_capabilities"
|
348
455
|
require "language_server/protocol/interface/server_capabilities"
|
456
|
+
require "language_server/protocol/interface/set_trace_params"
|
457
|
+
require "language_server/protocol/interface/show_document_client_capabilities"
|
458
|
+
require "language_server/protocol/interface/show_document_params"
|
459
|
+
require "language_server/protocol/interface/show_document_result"
|
349
460
|
require "language_server/protocol/interface/show_message_params"
|
461
|
+
require "language_server/protocol/interface/show_message_request_client_capabilities"
|
350
462
|
require "language_server/protocol/interface/show_message_request_params"
|
351
463
|
require "language_server/protocol/interface/signature_help"
|
352
464
|
require "language_server/protocol/interface/signature_help_client_capabilities"
|