ruby-lsp 0.4.2 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -35
- data/VERSION +1 -1
- data/lib/rubocop/cop/ruby_lsp/use_language_server_aliases.rb +62 -0
- data/lib/ruby_lsp/document.rb +74 -6
- data/lib/ruby_lsp/event_emitter.rb +52 -0
- data/lib/ruby_lsp/executor.rb +60 -14
- data/lib/ruby_lsp/internal.rb +2 -0
- data/lib/ruby_lsp/listener.rb +39 -0
- data/lib/ruby_lsp/requests/base_request.rb +2 -85
- data/lib/ruby_lsp/requests/code_action_resolve.rb +46 -19
- data/lib/ruby_lsp/requests/code_actions.rb +5 -4
- data/lib/ruby_lsp/requests/code_lens.rb +135 -0
- data/lib/ruby_lsp/requests/diagnostics.rb +3 -3
- data/lib/ruby_lsp/requests/document_highlight.rb +7 -9
- data/lib/ruby_lsp/requests/document_link.rb +7 -7
- data/lib/ruby_lsp/requests/document_symbol.rb +13 -10
- data/lib/ruby_lsp/requests/folding_ranges.rb +13 -9
- data/lib/ruby_lsp/requests/formatting.rb +5 -4
- data/lib/ruby_lsp/requests/hover.rb +28 -32
- data/lib/ruby_lsp/requests/inlay_hints.rb +5 -4
- data/lib/ruby_lsp/requests/path_completion.rb +16 -10
- data/lib/ruby_lsp/requests/selection_ranges.rb +3 -3
- data/lib/ruby_lsp/requests/semantic_highlighting.rb +29 -15
- data/lib/ruby_lsp/requests/support/common.rb +55 -0
- data/lib/ruby_lsp/requests/support/highlight_target.rb +5 -4
- data/lib/ruby_lsp/requests/support/rails_document_client.rb +7 -6
- data/lib/ruby_lsp/requests/support/selection_range.rb +1 -1
- data/lib/ruby_lsp/requests/support/semantic_token_encoder.rb +2 -2
- data/lib/ruby_lsp/requests/support/sorbet.rb +5 -15
- data/lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb +39 -0
- data/lib/ruby_lsp/requests.rb +3 -0
- data/lib/ruby_lsp/server.rb +4 -1
- data/lib/ruby_lsp/store.rb +10 -10
- metadata +11 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-lsp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: language_server-protocol
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 6.
|
47
|
+
version: 6.1.1
|
48
48
|
- - "<"
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '7'
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - ">="
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: 6.
|
57
|
+
version: 6.1.1
|
58
58
|
- - "<"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '7'
|
@@ -70,14 +70,18 @@ files:
|
|
70
70
|
- README.md
|
71
71
|
- VERSION
|
72
72
|
- exe/ruby-lsp
|
73
|
+
- lib/rubocop/cop/ruby_lsp/use_language_server_aliases.rb
|
73
74
|
- lib/ruby-lsp.rb
|
74
75
|
- lib/ruby_lsp/document.rb
|
76
|
+
- lib/ruby_lsp/event_emitter.rb
|
75
77
|
- lib/ruby_lsp/executor.rb
|
76
78
|
- lib/ruby_lsp/internal.rb
|
79
|
+
- lib/ruby_lsp/listener.rb
|
77
80
|
- lib/ruby_lsp/requests.rb
|
78
81
|
- lib/ruby_lsp/requests/base_request.rb
|
79
82
|
- lib/ruby_lsp/requests/code_action_resolve.rb
|
80
83
|
- lib/ruby_lsp/requests/code_actions.rb
|
84
|
+
- lib/ruby_lsp/requests/code_lens.rb
|
81
85
|
- lib/ruby_lsp/requests/diagnostics.rb
|
82
86
|
- lib/ruby_lsp/requests/document_highlight.rb
|
83
87
|
- lib/ruby_lsp/requests/document_link.rb
|
@@ -91,6 +95,7 @@ files:
|
|
91
95
|
- lib/ruby_lsp/requests/selection_ranges.rb
|
92
96
|
- lib/ruby_lsp/requests/semantic_highlighting.rb
|
93
97
|
- lib/ruby_lsp/requests/support/annotation.rb
|
98
|
+
- lib/ruby_lsp/requests/support/common.rb
|
94
99
|
- lib/ruby_lsp/requests/support/highlight_target.rb
|
95
100
|
- lib/ruby_lsp/requests/support/prefix_tree.rb
|
96
101
|
- lib/ruby_lsp/requests/support/rails_document_client.rb
|
@@ -102,6 +107,7 @@ files:
|
|
102
107
|
- lib/ruby_lsp/requests/support/semantic_token_encoder.rb
|
103
108
|
- lib/ruby_lsp/requests/support/sorbet.rb
|
104
109
|
- lib/ruby_lsp/requests/support/source_uri.rb
|
110
|
+
- lib/ruby_lsp/requests/support/syntax_tree_formatting_runner.rb
|
105
111
|
- lib/ruby_lsp/server.rb
|
106
112
|
- lib/ruby_lsp/store.rb
|
107
113
|
- lib/ruby_lsp/utils.rb
|
@@ -125,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
131
|
- !ruby/object:Gem::Version
|
126
132
|
version: '0'
|
127
133
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
134
|
+
rubygems_version: 3.4.10
|
129
135
|
signing_key:
|
130
136
|
specification_version: 4
|
131
137
|
summary: An opinionated language server for Ruby
|