Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: MK0151 on January 12, 2013, 06:19:20 pm

Title: usability issue - code completion
Post by: MK0151 on January 12, 2013, 06:19:20 pm
Hey guys,

first of all i realy like the code::blocks ide
but there is an annoying usability issue on the code completion

if you are typing something like "this->set" the result is maybe something like that:

getPara1()
getPara2()
getPara3()
getPara4()
getPara5()
setPara1()

you get 5 unwanted functions / vars and only the last (and the following) is interesting.

Regards
MK0151
Title: Re: usability issue - code completion
Post by: MortenMacFly on January 12, 2013, 07:51:38 pm
you get 5 unwanted functions / vars and only the last (and the following) is interesting.
And how would you depict whats unwanted? Maybe another user want to actually use the first, second or...?!
Title: Re: usability issue - code completion
Post by: MK0151 on January 12, 2013, 08:01:31 pm
yeah but than have you typed it or?
Title: Re: usability issue - code completion
Post by: MK0151 on January 12, 2013, 08:11:04 pm
result now:

i typ "this->set"

getPara1()  <-unwanted
getPara2()  <-unwanted
getPara3()  <-unwanted
getPara4()  <-unwanted
getPara5()  <-unwanted
setPara1()  <-wanted

better result:

setPara1()  <-wanted
setPara2()  <-wanted
setPara3()  <-wanted
setPara4()  <-wanted
setPara5()  <-wanted
setPara6()  <-wanted


Title: Re: usability issue - code completion
Post by: oBFusCATed on January 12, 2013, 08:12:32 pm
Can you provide simple self-contained example, which can be used to reproduce the issue?
Title: Re: usability issue - code completion
Post by: p2rkw on January 12, 2013, 09:53:55 pm
@oBFusCATed: Autocomplete listbox is automatically opened when you type "this->" and it isn't refreshed anymore.

@MK0151: you have to hit ctrl+space to refresh list.
Title: Re: usability issue - code completion
Post by: oBFusCATed on January 12, 2013, 10:02:10 pm
@oBFusCATed: Autocomplete listbox is automatically opened when you type "this->" and it isn't refreshed anymore.
I know about this.
Title: Re: usability issue - code completion
Post by: MK0151 on January 12, 2013, 11:33:54 pm
hey
thx p2rkw work perfectly