User forums > Using Code::Blocks
Function arguments autocompletion shortcut
cubuspl42:
This is very easy question... I tried so many shortcuts, I tried googling it, and still nothing... How can I accept this suggestion?
Jenna:
It's not a suggestion, it just shows you the type of the parameter you need to call the function.
It looks like you try try to redefinite an existing function. Is that really what you want ?
p2rkw:
@jens: OP probably already have delcaration of function, and now he is writing implementation. In this case auto-complete of arguments (with their names) is very useful.
Jenna:
--- Quote from: p2rkw on August 14, 2012, 08:55:29 pm ---@jens: OP probably already have delcaration of function, and now he is writing implementation. In this case auto-complete of arguments (with their names) is very useful.
--- End quote ---
To achieve this, just right click in the appropriate cpp file, chose "Insert -> All class methods without implementation", chose which implementation-stub to generate and click okay.
Similar can be done for functions without decleration.
cubuspl42:
Yes, I'm implementing previously declared method.
I guess that just autocompleting method arguments is impossible? That's bad news. "Insert all methods without implementation" sometimes doesn't work 100% correctly for me. :/
Navigation
[0] Message Index
[#] Next page
Go to full version