autocomplete block arguments
Hello,
I have a method which takes a block as argument:
-(void) fetchStats: ( void (^)(BOOL, NSError *) )fetchDoneBlock;
When I use this method I get a autocomplete proposition from AppCode :
but I don't know how to "accept" this code completion to get this:
Did I miss something ?
Thanks,
Tex
Please sign in to leave a comment.
You need to use Smart Completion (Shift+Control+Space) to complete a block skeleton:

ok thanks !
Hi,
I don't know why but the keyboard shortcut for the Smart Completion does not work. If I hit Ctrl+Shit+Space nothing happens. If I go to Code>Completion>SmartType, it works ...
The keymaps for this in the Preferences are left default.
EDIT: forget this post. It works. I don't know what was wrong.
This problem may happen dues to Chrome bug:
http://youtrack.jetbrains.com/issue/IDEA-71004
To help fixing this issues, vot for http://code.google.com/p/chromium/issues/detail?id=110364
ok, thanks for the hint