mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Add support for container_name in workspace/symbol query
This commit is contained in:
parent
61324a845b
commit
dd6307ddc4
4 changed files with 116 additions and 17 deletions
|
@ -190,7 +190,7 @@ pub fn handle_workspace_symbol(
|
|||
name: nav.name().to_string(),
|
||||
kind: nav.kind().conv(),
|
||||
location: nav.try_conv_with(world)?,
|
||||
container_name: None,
|
||||
container_name: nav.container_name().map(|v| v.to_string()),
|
||||
deprecated: None,
|
||||
};
|
||||
res.push(info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue