You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On VS Code, workbench.action.gotoSymbol shows functions, consts, etc. for the current file, but workbench.action.showAllSymbols only shows structs and nothing else.
The text was updated successfully, but these errors were encountered:
By default, in workspace search we only show types, because they are "more important". If there are no matching types we do show functions. You can also set the setting "rust-analyzer.workspace.symbol.search.kind": "all_symbols" to always include functions. In other editors, you can append # to the query (foo#) to search for functions. Unfortunately, in VSCode it does not work, and this is not something we control. The issue tracking improvements to LSP to allow us to do this in VSCode is microsoft/language-server-protocol#2091. You can upvote it, perhaps it will help.
On VS Code,
workbench.action.gotoSymbol
shows functions, consts, etc. for the current file, butworkbench.action.showAllSymbols
only shows structs and nothing else.The text was updated successfully, but these errors were encountered: