Community
Participate
Working Groups
Build Identifier: I20110412-2200 CDT Version:I201103111317 Java Version:1.6.0_24-b07-334 OS: Mac OS X Locale: ja_JP.utf8 It works for other things such as Class name but doesnt seem to work for variable name. Reproducible: Always Steps to Reproduce: 1.Create a new C++ project and create a new class. 2. Add a variable in the class. 3. Go to Search->C++ search and type in the variable name and search. 4. No search results are produced. Please refer to the screenshot.
Created attachment 193656 [details] Screen capture.
The C/C++ search (like the Java search) does not search for local variables or parameters, you need to use a Text Search instead.
(In reply to comment #2) > The C/C++ search (like the Java search) does not search for local variables or > parameters, you need to use a Text Search instead. Thanks for the clarification. Like you said it only does not work for local variables, it does work for global ones. Hard to understand such limitation. Well, like you said text search seems to be the best bet.