You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pere Pasqual (JIRA)" <ji...@apache.org> on 2017/11/28 09:48:00 UTC

[jira] [Created] (NETBEANS-190) Automatic 1st suggestion autocompletion selection without selecting anything

Pere Pasqual created NETBEANS-190:
-------------------------------------

             Summary: Automatic 1st suggestion autocompletion selection without selecting anything
                 Key: NETBEANS-190
                 URL: https://issues.apache.org/jira/browse/NETBEANS-190
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Completion & Templates
    Affects Versions: 8.2, Next
         Environment: Windows 7 64 bit
            Reporter: Pere Pasqual


Most of times, when I'm typing some source and do the .method() part on some object, if I'm quicker than the code completion (which usually happens) and I write it myself without letting the editor have time to even show a suggestion, immediately after I write a parameter between brackets it gets replaced by a code completion suggestion, changing my code with some incorrect other.

I've determined that the method taken is always the 1st on top of the suggestions list.

Sometimes this may get unnoticed if I'm typing quicly and the substitution is not so evident because it's of a similar length or so, so you can get an unnoticed handful of typos in your code, causing all sorts of problems.

I think I sometimes can "predict" it's going to happen because the mouse cursor is "spinning" ("thinking"), showing it's loading suggestions but it an a rather slow way, while I'm typing my code. If what I'm typing is a .method() part, it's sure it will get replaced by a .whateverFirstMethod() after the spinner stops spinning.

I'm using a 20171017 nightly build, but I'm suffering from this since the Beginning of Times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)