rust-lang / vscode-rust

Rust extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
Other
1.39k stars 167 forks source link

Outline View not populated with symbols #453

Open views63 opened 5 years ago

views63 commented 5 years ago

default vscode version 1.29.1 and rls version 0.4.10

tchebb commented 5 years ago

Part of this comes from RLS returning symbols with empty names. I've sent RLS a pull request to fix this (rust-lang/rls#1193), which should make symbols show up more reliably. However, they still won't populate immediately after opening a project, since we have the same problem the C++ server used to have (Microsoft/vscode-cpptools#2477) where we execute the query before analysis has finished. But at least that can be worked around by reopening the file or making an edit.

woss commented 4 years ago

it seems that (rust-lang/rls#1193) is merged. any idea why still doesn't' populate the view?

tigeran2020 commented 4 years ago

same problem!

plwalsh commented 3 years ago

Similar problem here. Some of my crate workspaces seemingly work fine, while others consistently report that nothing was found. Things like:

And I can't figure out how to find what's different between the workspaces that blocks the symbol finding.

sbatururimi commented 3 years ago

Any update on this? Same problem.

jinq0123 commented 3 years ago

Same problem.

ghost commented 3 years ago

Same problem

jkryanchou commented 2 years ago

Same Issues. What's wrong

gskerry commented 2 years ago

Same. (Reopening file workaround ineffective).

spdrman commented 2 years ago

Same issue... CobiSymbolOutline extension doesn't work either...

wrinkledeth commented 2 years ago

same problem

EDIT: Solved my issue by disabling GitLens. I believe this is a GitLens issue.

lnicola commented 2 years ago

This extension is deprecated, you should try https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer instead. Outline view works there. CobiSymbolOutline too.