vscode-rust
vscode-rust copied to clipboard
Outline View not populated with symbols
vscode version 1.29.1 and rls version 0.4.10
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.
it seems that (rust-lang/rls#1193) is merged. any idea why still doesn't' populate the view?
same problem!
Similar problem here. Some of my crate workspaces seemingly work fine, while others consistently report that nothing was found. Things like:
-
No symbols found in document <file>
for the Outline view -
No editor symbols
for the "Go-to symbol..." (in current file) shortcut, Ctrl+Shift+O -
No workspace symbols
for the "Show all symbols" shortcut, Ctrl+T
And I can't figure out how to find what's different between the workspaces that blocks the symbol finding.
Any update on this? Same problem.
Same problem.
Same problem
Same Issues. What's wrong
Same. (Reopening file workaround ineffective).
Same issue... CobiSymbolOutline extension doesn't work either...
same problem
EDIT: Solved my issue by disabling GitLens. I believe this is a GitLens issue.
This extension is deprecated, you should try https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer instead. Outline view works there. CobiSymbolOutline too.