ruby-lsp 0.17.13 → 0.17.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/exe/ruby-lsp +2 -0
  4. data/lib/ruby_indexer/lib/ruby_indexer/configuration.rb +28 -9
  5. data/lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb +5 -3
  6. data/lib/ruby_indexer/test/classes_and_modules_test.rb +21 -0
  7. data/lib/ruby_indexer/test/configuration_test.rb +41 -7
  8. data/lib/ruby_lsp/document.rb +9 -114
  9. data/lib/ruby_lsp/erb_document.rb +16 -2
  10. data/lib/ruby_lsp/global_state.rb +1 -1
  11. data/lib/ruby_lsp/internal.rb +1 -0
  12. data/lib/ruby_lsp/listeners/definition.rb +8 -5
  13. data/lib/ruby_lsp/rbs_document.rb +41 -0
  14. data/lib/ruby_lsp/requests/code_action_resolve.rb +34 -18
  15. data/lib/ruby_lsp/requests/code_actions.rb +1 -1
  16. data/lib/ruby_lsp/requests/completion.rb +2 -2
  17. data/lib/ruby_lsp/requests/definition.rb +1 -1
  18. data/lib/ruby_lsp/requests/diagnostics.rb +1 -1
  19. data/lib/ruby_lsp/requests/document_highlight.rb +1 -1
  20. data/lib/ruby_lsp/requests/formatting.rb +1 -1
  21. data/lib/ruby_lsp/requests/hover.rb +1 -1
  22. data/lib/ruby_lsp/requests/inlay_hints.rb +1 -1
  23. data/lib/ruby_lsp/requests/on_type_formatting.rb +1 -1
  24. data/lib/ruby_lsp/requests/prepare_type_hierarchy.rb +1 -1
  25. data/lib/ruby_lsp/requests/selection_ranges.rb +2 -1
  26. data/lib/ruby_lsp/requests/show_syntax_tree.rb +1 -1
  27. data/lib/ruby_lsp/requests/signature_help.rb +1 -1
  28. data/lib/ruby_lsp/requests/support/formatter.rb +2 -2
  29. data/lib/ruby_lsp/requests/support/rubocop_diagnostic.rb +1 -1
  30. data/lib/ruby_lsp/requests/support/rubocop_formatter.rb +2 -2
  31. data/lib/ruby_lsp/requests/support/syntax_tree_formatter.rb +2 -2
  32. data/lib/ruby_lsp/ruby_document.rb +119 -1
  33. data/lib/ruby_lsp/server.rb +96 -8
  34. data/lib/ruby_lsp/setup_bundler.rb +18 -7
  35. data/lib/ruby_lsp/store.rb +10 -6
  36. metadata +3 -2
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.17.13
4
+ version: 0.17.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-14 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: language_server-protocol
@@ -137,6 +137,7 @@ files:
137
137
  - lib/ruby_lsp/load_sorbet.rb
138
138
  - lib/ruby_lsp/node_context.rb
139
139
  - lib/ruby_lsp/parameter_scope.rb
140
+ - lib/ruby_lsp/rbs_document.rb
140
141
  - lib/ruby_lsp/requests.rb
141
142
  - lib/ruby_lsp/requests/code_action_resolve.rb
142
143
  - lib/ruby_lsp/requests/code_actions.rb