vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Symbol search by "#" on Mac cannot find all matched items

Open michelleangela opened this issue 5 years ago • 4 comments
trafficstars

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.

michelleangela avatar Jul 14 '20 21:07 michelleangela

Update: this can also be reproduced on other platforms too, but it is inconsistent on different machines.

michelleangela avatar Mar 19 '22 01:03 michelleangela

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: image Windows x64: image

Ashley-Li avatar Aug 23 '24 09:08 Ashley-Li

@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 avatar Aug 28 '24 01:08 sean-mcmanus

@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.

image

Ashley-Li avatar Aug 28 '24 10:08 Ashley-Li

There's been a lot of work done on this feature recently. I think we can consider this particular issue completed.

Colengms avatar Aug 29 '24 03:08 Colengms