vscode-cpptools
vscode-cpptools copied to clipboard
Symbol search by "#" on Mac cannot find all matched items
Type: LanguageService
Describe the bug Searching symbols by "#" in command palette cannot file all of the matched items. Seems to be an issue on Mac.
Found by internal testing.
Update: this can also be reproduced on other platforms too, but it is inconsistent on different machines.
Tested on C/C++ 1.22.0-dogfood2, this issue not repro on Windows x64 & Linux x64 & Mac ARM64 platform, but it is reproes on MinGW on Windows (64-bit version) with gcc compiler. Not Shown "myLibStr" when inputting "#s" in command palette.
MinGW on Windows (64-bit version) with gcc compiler:
Windows x64:
@Ashley-Li I'm guessing that is "by design" because the "s" query is too short and it may be hitting the internal query limit for results. I think if you use more letters in the search it should appear.
@sean-mcmanus Thanks for your confirmation and update. Tested on C/C++ 1.22.0 (pre-release) with MinGW on Windows (64-bit version) with gcc compiler, using more characters, such as “#my”, the ”myLibStr“ can be searched.
There's been a lot of work done on this feature recently. I think we can consider this particular issue completed.