Code completion in current dev builds

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Code completion in current dev builds

tkellerer
Hello,

I'm wondering if I'm the only one who finds the current code completion
annoying. It pops up just too often.

Example:

In a code like:

catch (SQLException e)
{
   e.
}

with the cursor after the "e." I get the list of methods for the
exceptioin class, which is fine. The I select one from the list and hit
enter (e.g. printStackTrace()). The method gets inserted into the editor
which is fine and expected.
But now the code completion window still shows up with only one method
(the currently selected one). Why is that? I just selected a method, I
don't need to see the popup with that one.

Now I type ; because the statement is finished. Now the code completion
pops up again giving me all possible variables from the current class. I
have to cancel it with ESC to be able to get into the next line. Hitting
enter does not work because it will select one entry from the list. This
is extremely annoying because it breaks the "flow" of typing.


Regards
Thomas

Reply | Threaded
Open this post in threaded view
|

Re: Code completion in current dev builds

Roman Strobl
Thomas Kellerer wrote:

> Hello,
>
> I'm wondering if I'm the only one who finds the current code
> completion annoying. It pops up just too often.

You're not the only one. I have increased the priority of these two
issues yesterday to P1:

http://www.netbeans.org/issues/show_bug.cgi?id=61817
http://www.netbeans.org/issues/show_bug.cgi?id=63637

These should fix the problems with code completion being open
unexpectedly or remaining open.

-Roman

>
> Example:
>
> In a code like:
>
> catch (SQLException e)
> {
>   e.
> }
>
> with the cursor after the "e." I get the list of methods for the
> exceptioin class, which is fine. The I select one from the list and
> hit enter (e.g. printStackTrace()). The method gets inserted into the
> editor which is fine and expected.
> But now the code completion window still shows up with only one method
> (the currently selected one). Why is that? I just selected a method, I
> don't need to see the popup with that one.
>
> Now I type ; because the statement is finished. Now the code
> completion pops up again giving me all possible variables from the
> current class. I have to cancel it with ESC to be able to get into the
> next line. Hitting enter does not work because it will select one
> entry from the list. This is extremely annoying because it breaks the
> "flow" of typing.
>
>
> Regards
> Thomas
>

Reply | Threaded
Open this post in threaded view
|

Re: Code completion in current dev builds

tkellerer
On 08.09.2005 10:15 Roman Strobl wrote:
> You're not the only one. I have increased the priority of these two
> issues yesterday to P1:

Good to hear that :)

> http://www.netbeans.org/issues/show_bug.cgi?id=61817
> http://www.netbeans.org/issues/show_bug.cgi?id=63637

I voted for both of them.

Cheers
Thomas

Reply | Threaded
Open this post in threaded view
|

Re: Code completion in current dev builds

Diego de Oliveira
In reply to this post by tkellerer
I think the same.

On Qui, 2005-09-08 at 08:57 +0200, Thomas Kellerer wrote:

> Hello,
>
> I'm wondering if I'm the only one who finds the current code completion
> annoying. It pops up just too often.
>
> Example:
>
> In a code like:
>
> catch (SQLException e)
> {
>    e.
> }
>
> with the cursor after the "e." I get the list of methods for the
> exceptioin class, which is fine. The I select one from the list and hit
> enter (e.g. printStackTrace()). The method gets inserted into the editor
> which is fine and expected.
> But now the code completion window still shows up with only one method
> (the currently selected one). Why is that? I just selected a method, I
> don't need to see the popup with that one.
>
> Now I type ; because the statement is finished. Now the code completion
> pops up again giving me all possible variables from the current class. I
> have to cancel it with ESC to be able to get into the next line. Hitting
> enter does not work because it will select one entry from the list. This
> is extremely annoying because it breaks the "flow" of typing.
>
>
> Regards
> Thomas
>

Reply | Threaded
Open this post in threaded view
|

Re: Code completion in current dev builds

Michel Graciano
Me too! Voting for this now!!

2005/9/8, Diego de Olivieira <[hidden email]>:
I think the same.

On Qui, 2005-09-08 at 08:57 +0200, Thomas Kellerer wrote:

> Hello,
>
> I'm wondering if I'm the only one who finds the current code completion
> annoying. It pops up just too often.
>
> Example:
>
> In a code like:
>
> catch (SQLException e)
> {
>    e.
> }
>
> with the cursor after the "e." I get the list of methods for the
> exceptioin class, which is fine. The I select one from the list and hit
> enter (e.g. printStackTrace()). The method gets inserted into the editor
> which is fine and expected.
> But now the code completion window still shows up with only one method
> (the currently selected one). Why is that? I just selected a method, I
> don't need to see the popup with that one.
>
> Now I type ; because the statement is finished. Now the code completion
> pops up again giving me all possible variables from the current class. I
> have to cancel it with ESC to be able to get into the next line. Hitting
> enter does not work because it will select one entry from the list. This
> is extremely annoying because it breaks the "flow" of typing.
>
>
> Regards
> Thomas
>




--
Atenciosamente,

Michel Graciano
http://www.jroller.com/page/hmichel
https://jae.dev.java.net/
Reply | Threaded
Open this post in threaded view
|

Re: Code completion in current dev builds

Karel Zikmund
In reply to this post by tkellerer
Hi,

I have filed it as P1 http://www.netbeans.org/issues/show_bug.cgi?id=63912 since it is VERY annoying and it's also regression.
Should be fixed in Beta (see comments).

-Karel

Thomas Kellerer wrote:

> Hello,
>
> I'm wondering if I'm the only one who finds the current code completion
> annoying. It pops up just too often.
>
> Example:
>
> In a code like:
>
> catch (SQLException e)
> {
>   e.
> }
>
> with the cursor after the "e." I get the list of methods for the
> exceptioin class, which is fine. The I select one from the list and hit
> enter (e.g. printStackTrace()). The method gets inserted into the editor
> which is fine and expected.
> But now the code completion window still shows up with only one method
> (the currently selected one). Why is that? I just selected a method, I
> don't need to see the popup with that one.
>
> Now I type ; because the statement is finished. Now the code completion
> pops up again giving me all possible variables from the current class. I
> have to cancel it with ESC to be able to get into the next line. Hitting
> enter does not work because it will select one entry from the list. This
> is extremely annoying because it breaks the "flow" of typing.
>
>
> Regards
> Thomas
>