Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Outline View not populated with symbols #453

Open
views63 opened this issue Nov 26, 2018 · 12 comments
Open

Outline View not populated with symbols #453

views63 opened this issue Nov 26, 2018 · 12 comments
Labels
enhancement Indicates new feature requests P-High rls Issue related to the RLS itself rather than the extension

Comments

@views63
Copy link

views63 commented Nov 26, 2018

default
vscode version 1.29.1 and rls version 0.4.10

@views63 views63 changed the title In native outline panel no found symbol on the native outline panel no found symbol Nov 26, 2018
@tchebb
Copy link
Contributor

tchebb commented Dec 17, 2018

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.

@Xanewok Xanewok added enhancement Indicates new feature requests P-High rls Issue related to the RLS itself rather than the extension labels Apr 7, 2019
@Xanewok Xanewok changed the title on the native outline panel no found symbol Outline View not populated with symbols Apr 7, 2019
@woss
Copy link

woss commented Feb 5, 2020

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

@tigeran2020
Copy link

same problem!

@plwalsh
Copy link

plwalsh commented Nov 17, 2020

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.

@sbatururimi
Copy link

Any update on this? Same problem.

@jinq0123
Copy link

jinq0123 commented Aug 3, 2021

Same problem.

@ghost
Copy link

ghost commented Oct 12, 2021

Same problem

@jkryanchou
Copy link

jkryanchou commented Dec 14, 2021

Same Issues. What's wrong

@gskerry
Copy link

gskerry commented Jan 26, 2022

Same.
(Reopening file workaround ineffective).

@spdrman
Copy link

spdrman commented Feb 14, 2022

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

@wrinkledeth
Copy link

wrinkledeth commented Sep 18, 2022

same problem

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

@lnicola
Copy link
Member

lnicola commented Sep 18, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Indicates new feature requests P-High rls Issue related to the RLS itself rather than the extension
Projects
None yet
Development

No branches or pull requests