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?

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.