Add editor::GoToParentModule for rust-analyzer backed projects (#29755)

Support rust-analyzer's "go to parent module" action


https://rust-analyzer.github.io/book/contributing/lsp-extensions.html#parent-module

Release Notes:

- Added `editor::GoToParentModule` for rust-analyzer backed projects

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
This commit is contained in:
Kirill Bulatov
2025-05-01 18:28:05 +00:00
committed by GitHub
co-authored by Julia Ryan
parent 50ec26c163
commit 2a319efade
8 changed files with 276 additions and 64 deletions
+1
View File
@@ -327,6 +327,7 @@ impl Server {
.add_request_handler(
forward_read_only_project_request::<proto::LspExtSwitchSourceHeader>,
)
.add_request_handler(forward_read_only_project_request::<proto::LspExtGoToParentModule>)
.add_request_handler(
forward_read_only_project_request::<proto::LanguageServerIdForName>,
)