Fix Xcode 4 code completion inside preprocessor macros

Originator:Carter
Number:rdar://10980952 Date Originated:Sun, 04 Mar 2012 21:00:38 GMT
Status:Closed Resolved:Original was fixed in Xcode 4.3 (Duplicate/8664788)
Product:Developer Tools Product Version:4
Classification:UI/Usability Reproducible:Always
 
Summary:
When inside preprocessor macro, no code completion suggestions are given.

Steps to Reproduce:
Type any preprocessor macro with arguments (a good example is NSLocalizedString()) and attempt to use a variable from the local scope or an ivar inside the macro. Neither work, nor do any other completions.

Expected Results:
All code completions that would be given inside the arguments of a function should also be present when typing the arguments for a preprocessor macro.

Actual Results:
No suggestions are given.

Regression:
Completion suggestions were given in Xcode 3. This bug has, however, been present since the upgrade to Xcode 4.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!