language_server-protocol 3.16.0.0 → 3.16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/language_server/protocol/interface/annotated_text_edit.rb +19 -1
- data/lib/language_server/protocol/interface/call_hierarchy_incoming_calls_params.rb +20 -2
- data/lib/language_server/protocol/interface/call_hierarchy_options.rb +6 -1
- data/lib/language_server/protocol/interface/call_hierarchy_outgoing_calls_params.rb +20 -2
- data/lib/language_server/protocol/interface/call_hierarchy_prepare_params.rb +28 -2
- data/lib/language_server/protocol/interface/call_hierarchy_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/code_action_options.rb +6 -1
- data/lib/language_server/protocol/interface/code_action_params.rb +20 -2
- data/lib/language_server/protocol/interface/code_action_registration_options.rb +37 -2
- data/lib/language_server/protocol/interface/code_lens_options.rb +6 -1
- data/lib/language_server/protocol/interface/code_lens_params.rb +20 -2
- data/lib/language_server/protocol/interface/code_lens_registration_options.rb +25 -2
- data/lib/language_server/protocol/interface/color_presentation_params.rb +20 -2
- data/lib/language_server/protocol/interface/completion_options.rb +6 -1
- data/lib/language_server/protocol/interface/completion_params.rb +38 -2
- data/lib/language_server/protocol/interface/completion_registration_options.rb +57 -2
- data/lib/language_server/protocol/interface/declaration_options.rb +6 -1
- data/lib/language_server/protocol/interface/declaration_params.rb +38 -2
- data/lib/language_server/protocol/interface/declaration_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/definition_options.rb +6 -1
- data/lib/language_server/protocol/interface/definition_params.rb +38 -2
- data/lib/language_server/protocol/interface/definition_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/document_color_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_color_params.rb +20 -2
- data/lib/language_server/protocol/interface/document_color_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/document_formatting_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_formatting_params.rb +9 -1
- data/lib/language_server/protocol/interface/document_formatting_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/document_highlight_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_highlight_params.rb +38 -2
- data/lib/language_server/protocol/interface/document_highlight_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/document_link_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_link_params.rb +20 -2
- data/lib/language_server/protocol/interface/document_link_registration_options.rb +25 -2
- data/lib/language_server/protocol/interface/document_on_type_formatting_params.rb +17 -1
- data/lib/language_server/protocol/interface/document_on_type_formatting_registration_options.rb +28 -2
- data/lib/language_server/protocol/interface/document_range_formatting_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_range_formatting_params.rb +9 -1
- data/lib/language_server/protocol/interface/document_range_formatting_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/document_symbol_options.rb +6 -1
- data/lib/language_server/protocol/interface/document_symbol_params.rb +20 -2
- data/lib/language_server/protocol/interface/document_symbol_registration_options.rb +26 -2
- data/lib/language_server/protocol/interface/execute_command_options.rb +6 -1
- data/lib/language_server/protocol/interface/execute_command_params.rb +9 -1
- data/lib/language_server/protocol/interface/execute_command_registration_options.rb +14 -1
- data/lib/language_server/protocol/interface/folding_range_options.rb +6 -1
- data/lib/language_server/protocol/interface/folding_range_params.rb +20 -2
- data/lib/language_server/protocol/interface/folding_range_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/hover_options.rb +6 -1
- data/lib/language_server/protocol/interface/hover_params.rb +28 -2
- data/lib/language_server/protocol/interface/hover_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/implementation_options.rb +6 -1
- data/lib/language_server/protocol/interface/implementation_params.rb +38 -2
- data/lib/language_server/protocol/interface/implementation_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/initialize_params.rb +9 -1
- data/lib/language_server/protocol/interface/linked_editing_range_options.rb +6 -1
- data/lib/language_server/protocol/interface/linked_editing_range_params.rb +28 -2
- data/lib/language_server/protocol/interface/linked_editing_range_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/moniker_options.rb +6 -1
- data/lib/language_server/protocol/interface/moniker_params.rb +38 -2
- data/lib/language_server/protocol/interface/moniker_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/notification_message.rb +6 -1
- data/lib/language_server/protocol/interface/optional_versioned_text_document_identifier.rb +9 -1
- data/lib/language_server/protocol/interface/prepare_rename_params.rb +17 -1
- data/lib/language_server/protocol/interface/reference_options.rb +6 -1
- data/lib/language_server/protocol/interface/reference_params.rb +38 -2
- data/lib/language_server/protocol/interface/reference_registration_options.rb +17 -2
- data/lib/language_server/protocol/interface/rename_options.rb +6 -1
- data/lib/language_server/protocol/interface/rename_params.rb +28 -2
- data/lib/language_server/protocol/interface/rename_registration_options.rb +25 -2
- data/lib/language_server/protocol/interface/request_message.rb +6 -1
- data/lib/language_server/protocol/interface/response_message.rb +6 -1
- data/lib/language_server/protocol/interface/selection_range_options.rb +6 -1
- data/lib/language_server/protocol/interface/selection_range_params.rb +20 -2
- data/lib/language_server/protocol/interface/selection_range_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/semantic_tokens_delta_params.rb +20 -2
- data/lib/language_server/protocol/interface/semantic_tokens_options.rb +6 -1
- data/lib/language_server/protocol/interface/semantic_tokens_params.rb +20 -2
- data/lib/language_server/protocol/interface/semantic_tokens_range_params.rb +20 -2
- data/lib/language_server/protocol/interface/semantic_tokens_registration_options.rb +55 -2
- data/lib/language_server/protocol/interface/signature_help_options.rb +6 -1
- data/lib/language_server/protocol/interface/signature_help_params.rb +28 -2
- data/lib/language_server/protocol/interface/signature_help_registration_options.rb +38 -2
- data/lib/language_server/protocol/interface/text_document_change_registration_options.rb +10 -1
- data/lib/language_server/protocol/interface/text_document_save_registration_options.rb +10 -1
- data/lib/language_server/protocol/interface/type_definition_options.rb +6 -1
- data/lib/language_server/protocol/interface/type_definition_params.rb +38 -2
- data/lib/language_server/protocol/interface/type_definition_registration_options.rb +27 -2
- data/lib/language_server/protocol/interface/versioned_text_document_identifier.rb +9 -1
- data/lib/language_server/protocol/interface/workspace_symbol_options.rb +6 -1
- data/lib/language_server/protocol/interface/workspace_symbol_params.rb +20 -2
- data/lib/language_server/protocol/interface/workspace_symbol_registration_options.rb +6 -1
- data/lib/language_server/protocol/version.rb +1 -1
- metadata +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class SignatureHelpOptions
|
|
4
|
+
class SignatureHelpOptions
|
|
5
5
|
def initialize(work_done_progress: nil, trigger_characters: nil, retrigger_characters: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -12,6 +12,11 @@ module LanguageServer
|
|
|
12
12
|
@attributes.freeze
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
# @return [boolean]
|
|
16
|
+
def work_done_progress
|
|
17
|
+
attributes.fetch(:workDoneProgress)
|
|
18
|
+
end
|
|
19
|
+
|
|
15
20
|
#
|
|
16
21
|
# The characters that trigger signature help
|
|
17
22
|
# automatically.
|
|
@@ -1,16 +1,42 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class SignatureHelpParams
|
|
5
|
-
def initialize(work_done_token: nil, context: nil)
|
|
4
|
+
class SignatureHelpParams
|
|
5
|
+
def initialize(text_document:, position:, work_done_token: nil, context: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
8
|
+
@attributes[:textDocument] = text_document
|
|
9
|
+
@attributes[:position] = position
|
|
8
10
|
@attributes[:workDoneToken] = work_done_token if work_done_token
|
|
9
11
|
@attributes[:context] = context if context
|
|
10
12
|
|
|
11
13
|
@attributes.freeze
|
|
12
14
|
end
|
|
13
15
|
|
|
16
|
+
#
|
|
17
|
+
# The text document.
|
|
18
|
+
#
|
|
19
|
+
# @return [TextDocumentIdentifier]
|
|
20
|
+
def text_document
|
|
21
|
+
attributes.fetch(:textDocument)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# The position inside the text document.
|
|
26
|
+
#
|
|
27
|
+
# @return [Position]
|
|
28
|
+
def position
|
|
29
|
+
attributes.fetch(:position)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# An optional token that a server can use to report work done progress.
|
|
34
|
+
#
|
|
35
|
+
# @return [ProgressToken]
|
|
36
|
+
def work_done_token
|
|
37
|
+
attributes.fetch(:workDoneToken)
|
|
38
|
+
end
|
|
39
|
+
|
|
14
40
|
#
|
|
15
41
|
# The signature help context. This is only available if the client
|
|
16
42
|
# specifies to send this using the client capability
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class SignatureHelpRegistrationOptions
|
|
5
|
-
def initialize(work_done_progress: nil, trigger_characters: nil, retrigger_characters: nil)
|
|
4
|
+
class SignatureHelpRegistrationOptions
|
|
5
|
+
def initialize(document_selector:, work_done_progress: nil, trigger_characters: nil, retrigger_characters: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
8
|
+
@attributes[:documentSelector] = document_selector
|
|
8
9
|
@attributes[:workDoneProgress] = work_done_progress if work_done_progress
|
|
9
10
|
@attributes[:triggerCharacters] = trigger_characters if trigger_characters
|
|
10
11
|
@attributes[:retriggerCharacters] = retrigger_characters if retrigger_characters
|
|
@@ -12,6 +13,41 @@ module LanguageServer
|
|
|
12
13
|
@attributes.freeze
|
|
13
14
|
end
|
|
14
15
|
|
|
16
|
+
#
|
|
17
|
+
# A document selector to identify the scope of the registration. If set to
|
|
18
|
+
# null the document selector provided on the client side will be used.
|
|
19
|
+
#
|
|
20
|
+
# @return [DocumentSelector]
|
|
21
|
+
def document_selector
|
|
22
|
+
attributes.fetch(:documentSelector)
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# @return [boolean]
|
|
26
|
+
def work_done_progress
|
|
27
|
+
attributes.fetch(:workDoneProgress)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
#
|
|
31
|
+
# The characters that trigger signature help
|
|
32
|
+
# automatically.
|
|
33
|
+
#
|
|
34
|
+
# @return [string[]]
|
|
35
|
+
def trigger_characters
|
|
36
|
+
attributes.fetch(:triggerCharacters)
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
#
|
|
40
|
+
# List of characters that re-trigger signature help.
|
|
41
|
+
#
|
|
42
|
+
# These trigger characters are only active when signature help is already
|
|
43
|
+
# showing. All trigger characters are also counted as re-trigger
|
|
44
|
+
# characters.
|
|
45
|
+
#
|
|
46
|
+
# @return [string[]]
|
|
47
|
+
def retrigger_characters
|
|
48
|
+
attributes.fetch(:retriggerCharacters)
|
|
49
|
+
end
|
|
50
|
+
|
|
15
51
|
attr_reader :attributes
|
|
16
52
|
|
|
17
53
|
def to_hash
|
|
@@ -4,7 +4,7 @@ module LanguageServer
|
|
|
4
4
|
#
|
|
5
5
|
# Describe options to be used when registering for text document change events.
|
|
6
6
|
#
|
|
7
|
-
class TextDocumentChangeRegistrationOptions
|
|
7
|
+
class TextDocumentChangeRegistrationOptions
|
|
8
8
|
def initialize(document_selector:, sync_kind:)
|
|
9
9
|
@attributes = {}
|
|
10
10
|
|
|
@@ -14,6 +14,15 @@ module LanguageServer
|
|
|
14
14
|
@attributes.freeze
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
#
|
|
18
|
+
# A document selector to identify the scope of the registration. If set to
|
|
19
|
+
# null the document selector provided on the client side will be used.
|
|
20
|
+
#
|
|
21
|
+
# @return [DocumentSelector]
|
|
22
|
+
def document_selector
|
|
23
|
+
attributes.fetch(:documentSelector)
|
|
24
|
+
end
|
|
25
|
+
|
|
17
26
|
#
|
|
18
27
|
# How documents are synced to the server. See TextDocumentSyncKind.Full
|
|
19
28
|
# and TextDocumentSyncKind.Incremental.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class TextDocumentSaveRegistrationOptions
|
|
4
|
+
class TextDocumentSaveRegistrationOptions
|
|
5
5
|
def initialize(document_selector:, include_text: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -11,6 +11,15 @@ module LanguageServer
|
|
|
11
11
|
@attributes.freeze
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
#
|
|
15
|
+
# A document selector to identify the scope of the registration. If set to
|
|
16
|
+
# null the document selector provided on the client side will be used.
|
|
17
|
+
#
|
|
18
|
+
# @return [DocumentSelector]
|
|
19
|
+
def document_selector
|
|
20
|
+
attributes.fetch(:documentSelector)
|
|
21
|
+
end
|
|
22
|
+
|
|
14
23
|
#
|
|
15
24
|
# The client is supposed to include the content on save.
|
|
16
25
|
#
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class TypeDefinitionOptions
|
|
4
|
+
class TypeDefinitionOptions
|
|
5
5
|
def initialize(work_done_progress: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -10,6 +10,11 @@ module LanguageServer
|
|
|
10
10
|
@attributes.freeze
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
+
# @return [boolean]
|
|
14
|
+
def work_done_progress
|
|
15
|
+
attributes.fetch(:workDoneProgress)
|
|
16
|
+
end
|
|
17
|
+
|
|
13
18
|
attr_reader :attributes
|
|
14
19
|
|
|
15
20
|
def to_hash
|
|
@@ -1,15 +1,51 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class TypeDefinitionParams
|
|
5
|
-
def initialize(partial_result_token: nil)
|
|
4
|
+
class TypeDefinitionParams
|
|
5
|
+
def initialize(text_document:, position:, work_done_token: nil, partial_result_token: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
8
|
+
@attributes[:textDocument] = text_document
|
|
9
|
+
@attributes[:position] = position
|
|
10
|
+
@attributes[:workDoneToken] = work_done_token if work_done_token
|
|
8
11
|
@attributes[:partialResultToken] = partial_result_token if partial_result_token
|
|
9
12
|
|
|
10
13
|
@attributes.freeze
|
|
11
14
|
end
|
|
12
15
|
|
|
16
|
+
#
|
|
17
|
+
# The text document.
|
|
18
|
+
#
|
|
19
|
+
# @return [TextDocumentIdentifier]
|
|
20
|
+
def text_document
|
|
21
|
+
attributes.fetch(:textDocument)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# The position inside the text document.
|
|
26
|
+
#
|
|
27
|
+
# @return [Position]
|
|
28
|
+
def position
|
|
29
|
+
attributes.fetch(:position)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
#
|
|
33
|
+
# An optional token that a server can use to report work done progress.
|
|
34
|
+
#
|
|
35
|
+
# @return [ProgressToken]
|
|
36
|
+
def work_done_token
|
|
37
|
+
attributes.fetch(:workDoneToken)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
#
|
|
41
|
+
# An optional token that a server can use to report partial results (e.g.
|
|
42
|
+
# streaming) to the client.
|
|
43
|
+
#
|
|
44
|
+
# @return [ProgressToken]
|
|
45
|
+
def partial_result_token
|
|
46
|
+
attributes.fetch(:partialResultToken)
|
|
47
|
+
end
|
|
48
|
+
|
|
13
49
|
attr_reader :attributes
|
|
14
50
|
|
|
15
51
|
def to_hash
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class TypeDefinitionRegistrationOptions
|
|
5
|
-
def initialize(id: nil)
|
|
4
|
+
class TypeDefinitionRegistrationOptions
|
|
5
|
+
def initialize(document_selector:, work_done_progress: nil, id: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
8
|
+
@attributes[:documentSelector] = document_selector
|
|
9
|
+
@attributes[:workDoneProgress] = work_done_progress if work_done_progress
|
|
8
10
|
@attributes[:id] = id if id
|
|
9
11
|
|
|
10
12
|
@attributes.freeze
|
|
11
13
|
end
|
|
12
14
|
|
|
15
|
+
#
|
|
16
|
+
# A document selector to identify the scope of the registration. If set to
|
|
17
|
+
# null the document selector provided on the client side will be used.
|
|
18
|
+
#
|
|
19
|
+
# @return [DocumentSelector]
|
|
20
|
+
def document_selector
|
|
21
|
+
attributes.fetch(:documentSelector)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# @return [boolean]
|
|
25
|
+
def work_done_progress
|
|
26
|
+
attributes.fetch(:workDoneProgress)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
#
|
|
30
|
+
# The id used to register the request. The id can be used to deregister
|
|
31
|
+
# the request again. See also Registration#id.
|
|
32
|
+
#
|
|
33
|
+
# @return [string]
|
|
34
|
+
def id
|
|
35
|
+
attributes.fetch(:id)
|
|
36
|
+
end
|
|
37
|
+
|
|
13
38
|
attr_reader :attributes
|
|
14
39
|
|
|
15
40
|
def to_hash
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class VersionedTextDocumentIdentifier
|
|
4
|
+
class VersionedTextDocumentIdentifier
|
|
5
5
|
def initialize(uri:, version:)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -11,6 +11,14 @@ module LanguageServer
|
|
|
11
11
|
@attributes.freeze
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
#
|
|
15
|
+
# The text document's URI.
|
|
16
|
+
#
|
|
17
|
+
# @return [string]
|
|
18
|
+
def uri
|
|
19
|
+
attributes.fetch(:uri)
|
|
20
|
+
end
|
|
21
|
+
|
|
14
22
|
#
|
|
15
23
|
# The version number of this document.
|
|
16
24
|
#
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class WorkspaceSymbolOptions
|
|
4
|
+
class WorkspaceSymbolOptions
|
|
5
5
|
def initialize(work_done_progress: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -10,6 +10,11 @@ module LanguageServer
|
|
|
10
10
|
@attributes.freeze
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
+
# @return [boolean]
|
|
14
|
+
def work_done_progress
|
|
15
|
+
attributes.fetch(:workDoneProgress)
|
|
16
|
+
end
|
|
17
|
+
|
|
13
18
|
attr_reader :attributes
|
|
14
19
|
|
|
15
20
|
def to_hash
|
|
@@ -4,16 +4,34 @@ module LanguageServer
|
|
|
4
4
|
#
|
|
5
5
|
# The parameters of a Workspace Symbol Request.
|
|
6
6
|
#
|
|
7
|
-
class WorkspaceSymbolParams
|
|
8
|
-
def initialize(partial_result_token: nil, query:)
|
|
7
|
+
class WorkspaceSymbolParams
|
|
8
|
+
def initialize(work_done_token: nil, partial_result_token: nil, query:)
|
|
9
9
|
@attributes = {}
|
|
10
10
|
|
|
11
|
+
@attributes[:workDoneToken] = work_done_token if work_done_token
|
|
11
12
|
@attributes[:partialResultToken] = partial_result_token if partial_result_token
|
|
12
13
|
@attributes[:query] = query
|
|
13
14
|
|
|
14
15
|
@attributes.freeze
|
|
15
16
|
end
|
|
16
17
|
|
|
18
|
+
#
|
|
19
|
+
# An optional token that a server can use to report work done progress.
|
|
20
|
+
#
|
|
21
|
+
# @return [ProgressToken]
|
|
22
|
+
def work_done_token
|
|
23
|
+
attributes.fetch(:workDoneToken)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
#
|
|
27
|
+
# An optional token that a server can use to report partial results (e.g.
|
|
28
|
+
# streaming) to the client.
|
|
29
|
+
#
|
|
30
|
+
# @return [ProgressToken]
|
|
31
|
+
def partial_result_token
|
|
32
|
+
attributes.fetch(:partialResultToken)
|
|
33
|
+
end
|
|
34
|
+
|
|
17
35
|
#
|
|
18
36
|
# A query string to filter symbols by. Clients may send an empty
|
|
19
37
|
# string here to request all symbols.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module LanguageServer
|
|
2
2
|
module Protocol
|
|
3
3
|
module Interface
|
|
4
|
-
class WorkspaceSymbolRegistrationOptions
|
|
4
|
+
class WorkspaceSymbolRegistrationOptions
|
|
5
5
|
def initialize(work_done_progress: nil)
|
|
6
6
|
@attributes = {}
|
|
7
7
|
|
|
@@ -10,6 +10,11 @@ module LanguageServer
|
|
|
10
10
|
@attributes.freeze
|
|
11
11
|
end
|
|
12
12
|
|
|
13
|
+
# @return [boolean]
|
|
14
|
+
def work_done_progress
|
|
15
|
+
attributes.fetch(:workDoneProgress)
|
|
16
|
+
end
|
|
17
|
+
|
|
13
18
|
attr_reader :attributes
|
|
14
19
|
|
|
15
20
|
def to_hash
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: language_server-protocol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.16.0.
|
|
4
|
+
version: 3.16.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fumiaki MATSUSHIMA
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -424,7 +424,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
424
424
|
- !ruby/object:Gem::Version
|
|
425
425
|
version: '0'
|
|
426
426
|
requirements: []
|
|
427
|
-
rubygems_version: 3.2.
|
|
427
|
+
rubygems_version: 3.2.16
|
|
428
428
|
signing_key:
|
|
429
429
|
specification_version: 4
|
|
430
430
|
summary: A Language Server Protocol SDK
|