Kingfox wrote: "When u type (, the Code::Blocks will shows you the function parameters"
Erh...
I wrote: "and then you type ( and it shows you the function parameters."
So I don't get your point.
My point was that it *only* shows you, it doesn't offer you the chance to insert that information.
Which is why I also wrote: "Is there a way at this point to get it to insert that info for you?" for when I am writing the function definition.
Here's how to replicate what I'm talking about.
Step 1. Declare a class and a function:
struct Foo {
void VeryLongFunctionName(const std::string& argumentNumber1, const std::string& argumentNumber2, const std::map<const std::string, const std::vector<const std::string> >);
}
Step 2. Define the function
Step 2a. You type: void Foo::VeryL
The autocomplete tooltip appears, offering you "VeryLongFunctionName" - a single keypress autocompletes it for you.
Step 2b. You type: (
The parameter list tooltip appears, looking like an autocomplete.
Now you have two options:
- Type in the argument list - which will cause the tooltip to dissapear,
- Scroll back to the function declaration in the struct and copy & paste.
I want a third option:
- Press tab to have the argument-list prototype inserted for you.