autocompletion for #define adds extra bracket

I have #define in my code:

 
#define CDManager [CoreDataManager sharedInstance]


when I type "[CDManager  save..." AppCode ends up adding extra bracket at the beginnig of the line: [[CDManager saveContext:<#(NSManagedObjectContext *)context#>]

Is there any workaround to this problem?

0

Hi Alex.

Looks like a problem on our side, thanks for reporting the case.
I've created an issue in our tracker:
https://youtrack.jetbrains.com/issue/OC-11807
Feel free to comment or upvote.
Follow to get the updates.

0

请先登录再写评论。