Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ph34n3x on September 23, 2012, 11:43:52 pm

Title: [SOLVED]function parameter autocomplete/show types
Post by: ph34n3x on September 23, 2012, 11:43:52 pm
so far i got C::B to show me the list of types and parameters when i type "functionname("
in the form of a tip like "functionname(struct xyz, int bla, char andsoon,...)" until i enter the first parameter (here the struct xyz) and the following ",". Then the tip disappears.
It would be very helpful to keep the tip until i am finished typing the parameters and entering the ")"

Is there a way to achieve this? autocomplete-options/plugins maybe?

btw. does this feature have a special name? Not sure if its part of autocomplete?
Title: Re: function parameter autocomplete/show types
Post by: oBFusCATed on September 24, 2012, 12:04:58 am
What is your version? This feature has been improved a lot in after the 10.05 release.

btw. does this feature have a special name? Not sure if its part of autocomplete?
Yes, it does, it is called 'call tip', see "Edit -> Show call tip".
Title: Re: function parameter autocomplete/show types
Post by: ph34n3x on September 24, 2012, 12:57:48 am
it is 10.05
feels broken somehow, because sometimes(rarely) the tip pops up again at later parameters, but i dont see a rule here ...
Title: Re: function parameter autocomplete/show types
Post by: oBFusCATed on September 24, 2012, 01:07:12 am
Just install a nightly build and report if it works better.
Title: Re: function parameter autocomplete/show types
Post by: ph34n3x on September 24, 2012, 10:54:45 pm
perfect!  ;D
works like a charm.

A last one: can you tell me how this feature is called?
Title: Re: function parameter autocomplete/show types
Post by: oBFusCATed on September 24, 2012, 11:08:17 pm
A last one: can you tell me how this feature is called?
I've already told you...
Title: [SOLVED]Re: function parameter autocomplete/show types
Post by: ph34n3x on September 24, 2012, 11:10:33 pm
oh sry ... skipped that ;-D