language_server-protocol 3.17.0.1 → 3.17.0.3
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/lib/language_server/protocol/constant/folding_range_kind.rb +1 -1
- data/lib/language_server/protocol/constant/position_encoding_kind.rb +1 -1
- data/lib/language_server/protocol/constant/text_document_sync_kind.rb +1 -1
- data/lib/language_server/protocol/constant.rb +0 -2
- data/lib/language_server/protocol/interface/completion_options.rb +6 -5
- data/lib/language_server/protocol/interface/completion_registration_options.rb +6 -5
- data/lib/language_server/protocol/interface/inlay_hint.rb +1 -1
- data/lib/language_server/protocol/interface/inlay_hint_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/linked_editing_range_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/rename_client_capabilities.rb +1 -1
- data/lib/language_server/protocol/interface/show_document_params.rb +3 -3
- data/lib/language_server/protocol/interface/symbol_information.rb +1 -1
- data/lib/language_server/protocol/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bb498601df4b9e24a703a97918393b6a12cf0b697c640ac50f83fcecd5e8e97
|
4
|
+
data.tar.gz: a2ef52757d6880d99e517b3dd3f62f54e6eb6b3bae7fe13c77f674a5dc052ce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 483933506ef32d8c557e42cba35e7e132d077710d46f8a7e2a06a776617af7bd36ce6146cd89e2b6d5512e4c1fdcbec95ccf79fe6ff8596052f6d7ffc1f8d429
|
7
|
+
data.tar.gz: e5b9cfe211598257887e08d2385c8d91e8dc0dfc54b08a6d816bff4fe9489f65b12d571cb667b67e4ba90135e7eb27459de335e2a748ca70cd7bf314586ed178
|
@@ -33,7 +33,6 @@ module LanguageServer
|
|
33
33
|
autoload :SymbolTag, "language_server/protocol/constant/symbol_tag"
|
34
34
|
autoload :TextDocumentSaveReason, "language_server/protocol/constant/text_document_save_reason"
|
35
35
|
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
|
36
|
-
autoload :TextDocumentSyncKind, "language_server/protocol/constant/text_document_sync_kind"
|
37
36
|
autoload :TokenFormat, "language_server/protocol/constant/token_format"
|
38
37
|
autoload :UniquenessLevel, "language_server/protocol/constant/uniqueness_level"
|
39
38
|
autoload :WatchKind, "language_server/protocol/constant/watch_kind"
|
@@ -70,7 +69,6 @@ module LanguageServer
|
|
70
69
|
require "language_server/protocol/constant/symbol_tag"
|
71
70
|
require "language_server/protocol/constant/text_document_save_reason"
|
72
71
|
require "language_server/protocol/constant/text_document_sync_kind"
|
73
|
-
require "language_server/protocol/constant/text_document_sync_kind"
|
74
72
|
require "language_server/protocol/constant/token_format"
|
75
73
|
require "language_server/protocol/constant/uniqueness_level"
|
76
74
|
require "language_server/protocol/constant/watch_kind"
|
@@ -23,17 +23,18 @@ module LanguageServer
|
|
23
23
|
end
|
24
24
|
|
25
25
|
#
|
26
|
-
#
|
26
|
+
# The additional characters, beyond the defaults provided by the client (typically
|
27
|
+
# [a-zA-Z]), that should automatically trigger a completion request. For example
|
28
|
+
# `.` in JavaScript represents the beginning of an object property or method and is
|
29
|
+
# thus a good candidate for triggering a completion request.
|
30
|
+
#
|
31
|
+
# Most tools trigger a completion request automatically without explicitly
|
27
32
|
# requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they
|
28
33
|
# do so when the user starts to type an identifier. For example if the user
|
29
34
|
# types `c` in a JavaScript file code complete will automatically pop up
|
30
35
|
# present `console` besides others as a completion item. Characters that
|
31
36
|
# make up identifiers don't need to be listed here.
|
32
37
|
#
|
33
|
-
# If code complete should automatically be trigger on characters not being
|
34
|
-
# valid inside an identifier (for example `.` in JavaScript) list them in
|
35
|
-
# `triggerCharacters`.
|
36
|
-
#
|
37
38
|
# @return [string[]]
|
38
39
|
def trigger_characters
|
39
40
|
attributes.fetch(:triggerCharacters)
|
@@ -30,17 +30,18 @@ module LanguageServer
|
|
30
30
|
end
|
31
31
|
|
32
32
|
#
|
33
|
-
#
|
33
|
+
# The additional characters, beyond the defaults provided by the client (typically
|
34
|
+
# [a-zA-Z]), that should automatically trigger a completion request. For example
|
35
|
+
# `.` in JavaScript represents the beginning of an object property or method and is
|
36
|
+
# thus a good candidate for triggering a completion request.
|
37
|
+
#
|
38
|
+
# Most tools trigger a completion request automatically without explicitly
|
34
39
|
# requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they
|
35
40
|
# do so when the user starts to type an identifier. For example if the user
|
36
41
|
# types `c` in a JavaScript file code complete will automatically pop up
|
37
42
|
# present `console` besides others as a completion item. Characters that
|
38
43
|
# make up identifiers don't need to be listed here.
|
39
44
|
#
|
40
|
-
# If code complete should automatically be trigger on characters not being
|
41
|
-
# valid inside an identifier (for example `.` in JavaScript) list them in
|
42
|
-
# `triggerCharacters`.
|
43
|
-
#
|
44
45
|
# @return [string[]]
|
45
46
|
def trigger_characters
|
46
47
|
attributes.fetch(:triggerCharacters)
|
@@ -99,7 +99,7 @@ module LanguageServer
|
|
99
99
|
end
|
100
100
|
|
101
101
|
#
|
102
|
-
# A data entry field that is preserved on
|
102
|
+
# A data entry field that is preserved on an inlay hint between
|
103
103
|
# a `textDocument/inlayHint` and a `inlayHint/resolve` request.
|
104
104
|
#
|
105
105
|
# @return [LSPAny]
|
@@ -11,7 +11,7 @@ module LanguageServer
|
|
11
11
|
end
|
12
12
|
|
13
13
|
#
|
14
|
-
# Whether implementation supports dynamic registration.
|
14
|
+
# Whether the implementation supports dynamic registration.
|
15
15
|
# If this is set to `true` the client supports the new
|
16
16
|
# `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
|
17
17
|
# return value for the corresponding server capability as well.
|
@@ -43,7 +43,7 @@ module LanguageServer
|
|
43
43
|
end
|
44
44
|
|
45
45
|
#
|
46
|
-
# Whether
|
46
|
+
# Whether the client honors the change annotations in
|
47
47
|
# text edits and resource operations returned via the
|
48
48
|
# rename request's workspace edit by for example presenting
|
49
49
|
# the workspace edit in the user interface and asking
|
@@ -2,7 +2,7 @@ module LanguageServer
|
|
2
2
|
module Protocol
|
3
3
|
module Interface
|
4
4
|
#
|
5
|
-
# Params to show a
|
5
|
+
# Params to show a resource.
|
6
6
|
#
|
7
7
|
class ShowDocumentParams
|
8
8
|
def initialize(uri:, external: nil, take_focus: nil, selection: nil)
|
@@ -17,7 +17,7 @@ module LanguageServer
|
|
17
17
|
end
|
18
18
|
|
19
19
|
#
|
20
|
-
# The
|
20
|
+
# The uri to show.
|
21
21
|
#
|
22
22
|
# @return [string]
|
23
23
|
def uri
|
@@ -26,7 +26,7 @@ module LanguageServer
|
|
26
26
|
|
27
27
|
#
|
28
28
|
# Indicates to show the resource in an external program.
|
29
|
-
# To show for example `https://code.visualstudio.com/`
|
29
|
+
# To show, for example, `https://code.visualstudio.com/`
|
30
30
|
# in the default WEB browser set `external` to `true`.
|
31
31
|
#
|
32
32
|
# @return [boolean]
|
@@ -58,7 +58,7 @@ module LanguageServer
|
|
58
58
|
# the range usually spans more then the actual symbol's name and does
|
59
59
|
# normally include things like visibility modifiers.
|
60
60
|
#
|
61
|
-
# The range doesn't have to denote a node range in the sense of
|
61
|
+
# The range doesn't have to denote a node range in the sense of an abstract
|
62
62
|
# syntax tree. It can therefore not be used to re-construct a hierarchy of
|
63
63
|
# the symbols.
|
64
64
|
#
|
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.17.0.
|
4
|
+
version: 3.17.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fumiaki MATSUSHIMA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -479,7 +479,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
479
479
|
- !ruby/object:Gem::Version
|
480
480
|
version: '0'
|
481
481
|
requirements: []
|
482
|
-
rubygems_version: 3.
|
482
|
+
rubygems_version: 3.4.5
|
483
483
|
signing_key:
|
484
484
|
specification_version: 4
|
485
485
|
summary: A Language Server Protocol SDK
|