language_server-protocol 3.17.0.1 → 3.17.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75bc1de387f04a538c440a27915783886cde11fe737f7db7d614a5c738e5e9a3
4
- data.tar.gz: aad3bee1927ae7fb47977e3260c9f0066115c7fee4e46e0a918363d6a6d35fe1
3
+ metadata.gz: 3bb498601df4b9e24a703a97918393b6a12cf0b697c640ac50f83fcecd5e8e97
4
+ data.tar.gz: a2ef52757d6880d99e517b3dd3f62f54e6eb6b3bae7fe13c77f674a5dc052ce9
5
5
  SHA512:
6
- metadata.gz: 15210c7abcf5a80655bc1b2a54fb27f84db90b7a8b2a740a62bacc8101b74d0b18db1940b894f4f66d4fe758a03f3c2e1aa1f639d6db1598eb0991885f63b7ca
7
- data.tar.gz: 42b3199685478fa7cf436a448d0c0f9aa0278d73b0c61812bcd40eab7034cc8ef23208fb93492277be33046bada12797959eb89297d7a3769e7eabae66999bd5
6
+ metadata.gz: 483933506ef32d8c557e42cba35e7e132d077710d46f8a7e2a06a776617af7bd36ce6146cd89e2b6d5512e4c1fdcbec95ccf79fe6ff8596052f6d7ffc1f8d429
7
+ data.tar.gz: e5b9cfe211598257887e08d2385c8d91e8dc0dfc54b08a6d816bff4fe9489f65b12d571cb667b67e4ba90135e7eb27459de335e2a748ca70cd7bf314586ed178
@@ -11,7 +11,7 @@ module LanguageServer
11
11
  #
12
12
  COMMENT = 'comment'
13
13
  #
14
- # Folding range for a imports or includes
14
+ # Folding range for imports or includes
15
15
  #
16
16
  IMPORTS = 'imports'
17
17
  #
@@ -8,7 +8,7 @@ module LanguageServer
8
8
  #
9
9
  module PositionEncodingKind
10
10
  #
11
- # Character offsets count UTF-8 code units.
11
+ # Character offsets count UTF-8 code units (e.g bytes).
12
12
  #
13
13
  UTF8 = 'utf-8'
14
14
  #
@@ -18,7 +18,7 @@ module LanguageServer
18
18
  #
19
19
  # Documents are synced by sending the full content on open.
20
20
  # After that only incremental updates to the document are
21
- # send.
21
+ # sent.
22
22
  #
23
23
  INCREMENTAL = 2
24
24
  end
@@ -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
- # Most tools trigger completion request automatically without explicitly
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
- # Most tools trigger completion request automatically without explicitly
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 a inlay hint between
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]
@@ -23,7 +23,7 @@ module LanguageServer
23
23
  end
24
24
 
25
25
  #
26
- # Indicates which properties a client can resolve lazily on a inlay
26
+ # Indicates which properties a client can resolve lazily on an inlay
27
27
  # hint.
28
28
  #
29
29
  # @return [{ properties: string[]; }]
@@ -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 th client honors the change annotations in
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 document.
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 document uri to show.
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 a abstract
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
  #
@@ -1,5 +1,5 @@
1
1
  module LanguageServer
2
2
  module Protocol
3
- VERSION = "3.17.0.1"
3
+ VERSION = "3.17.0.3"
4
4
  end
5
5
  end
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.1
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: 2022-09-03 00:00:00.000000000 Z
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.3.21
482
+ rubygems_version: 3.4.5
483
483
  signing_key:
484
484
  specification_version: 4
485
485
  summary: A Language Server Protocol SDK