mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
Stupid goto definition
This commit is contained in:
parent
7fc91f41d8
commit
8ae56fa6d0
9 changed files with 109 additions and 14 deletions
|
@ -26,6 +26,7 @@ use {
|
|||
handle_code_action,
|
||||
handle_execute_command,
|
||||
handle_workspace_symbol,
|
||||
handle_goto_definition,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -152,6 +153,9 @@ fn on_request(
|
|||
handle_request_on_threadpool::<req::WorkspaceSymbol>(
|
||||
&mut req, pool, world, sender, handle_workspace_symbol,
|
||||
)?;
|
||||
handle_request_on_threadpool::<req::GotoDefinition>(
|
||||
&mut req, pool, world, sender, handle_goto_definition,
|
||||
)?;
|
||||
dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
|
||||
io.send(RawMsg::Response(resp.into_response(Ok(None))?));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue