“(declaration)” appears when searching same symbol “fun” in workspace (using “#”), while not appear when searching in a file (using “@”)
PhoebeTf opened this issue · comments
Environment
VSCode 1.90.2+ C/C++ Extension 1.21.0 pre-release)
Bug Summary and Steps to Reproduce
Bug Summary:
More info:
- Repro platform: Windows, Linux, Mac
- Repro languages: ENU and loc languages
Steps to reproduce:
- Download the repository https://devdiv.visualstudio.com/DevDiv/_git/Vcls-vscode-test
- Open folder “MultiRootProjects” with VSCode
- Open file “project_A\project_subfolder_H\ references.cpp”
- Pressing F1 or Ctrl+ Shift+ P to show the command palette.
- Search for symbol “fun” in workspace by typing in the command palette "#fun"
- Search for symbol “fun” in the file “references.cpp” by typing in the command palette "@fun"
Expected result:
Display same results as will navigate to the same code line
Actual result:
With “(declaration)” appeared when searching with “#fun”, while without “(declaration)” appeared when searching with “@fun”
@fun: without “(declaration)”
Configuration and Logs
not related
Other Extensions
No response
Additional context
No response