clangd / vscode-clangd

Visual Studio Code extension for clangd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd
MIT License
597 stars 97 forks source link

Function signatures do not show in ctrl + shift + o (Go to symbol) #353

Open wkjung opened 2 years ago

wkjung commented 2 years ago

Seems like in Go to symbol plane (with ctrl shift o) I can't see the parameter hints.

image

However, I can see the hints (with "--completion-style=detailed" tho) when typing:

image

It would be really great if I can see the hints also in the Go to symbol plane. Is there a configuration that I should turn on, or this is just not supported?

HighCommander4 commented 2 years ago

Clangd sends this information to the client in its response to the textDocument/documentSymbol request, and vscode does show the signatures in the Outline view (in the Explorer pane).

Not showing the same information in the "Go to symbol..." dropdown looks like an issue in upstream vscode (not the vscode-clangd plugin).

image