-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call Hierarchy result is incomplete when clangd run with remote index environment #1358
Comments
|
this seems like an issue, but we're not prioritizing right now. so any help is welcome |
|
Thanks for your reply. |
|
Confirming that we're also seeing this issue. Will try and contribute a fix if I get some spare time. |
|
Can we please get this fixed? |
|
Folks following this thread: if you're able to try the patch at llvm/llvm-project#71605 and see whether it fixes the problem, that would be helpful info |
|
Thanks for community help :) |
Hi everyone,
I not sure it's misconfiguration or bugs.
I used clangd-indexer to generate index file and deploy clangd remote index server in internal
environments
Everything is work until I use "Show Call Hierarchy" feature in VS Code.
(Find All References with remote index is work and very fast , remote index is powerful and smoothly )
I use Show Call Hierarchy button on VScode with Remote Index .
It seem clangd only refers opened file and show corresponding info.
(It means overall Call Hierarchy is incomplete in whole codebase)
but, when I build up background index is workable and can provide correct and all "Call Hierarchy" information.
I try to enable --log=verbose in remote index server and clangd process
request v1/Refs => OK: 48 result in 2ms
request v1/Lookup => OK 1 result in 0ms
It seems first request found correct references count
but, Lookup is incorrect result.. I not sure why clangd filter out references result
Very thanks for your reading.
anyone can help give some suggestion. I very appreciate it
It's sys information
Clangd / Clangd Remote index version : 14
Editor/LSP plugin: VScode + Clangd
Operating system: Linux u1804
The text was updated successfully, but these errors were encountered: