[68cat][code] Code Hints activation appears to take full control

View: New views
5 Messages — Rating Filter:   Alert me  

[68cat][code] Code Hints activation appears to take full control

by esmithbss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm seeing this in Ruby and haven't noticed it as much in Java (although
it probably is there), but has anyone else encountered the following in
any language:

When I am typing, as I type through a dotted notation item, when I hit
the period key and continue typing, NB launches the code completion/hint
system and "hangs" for about 2 or 3 seconds as if launching the code
completion/hint system takes all the processing power of NB and NB has
to stop everything else while it gets the new component started.

If I remember correctly, there is a setting that I can use to change the
delay it takes before the code completion system is automatically
started, but when I am typing at my normal speed, I type between 5 and 8
characters a second which would indicate that I need to keep this value
somewhere above .2 seconds to be able to just type straight through, and
the default (which I haven't changed) should be somewhere around .5
seconds or higher.

Eric

Re: [68cat][code] Code Hints activation appears to take full control

by Daniel Sheppard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe that I am also seeing the same thing with Groovy.  It is hard to be sure because it isn't happening at each time code completion could occur.

Dan

On Sunday 18 Oct 2009 19:04:17 Eric M. Smith wrote:

> I'm seeing this in Ruby and haven't noticed it as much in Java (although
> it probably is there), but has anyone else encountered the following in
> any language:
>
> When I am typing, as I type through a dotted notation item, when I hit
> the period key and continue typing, NB launches the code completion/hint
> system and "hangs" for about 2 or 3 seconds as if launching the code
> completion/hint system takes all the processing power of NB and NB has
> to stop everything else while it gets the new component started.
>
> If I remember correctly, there is a setting that I can use to change the
> delay it takes before the code completion system is automatically
> started, but when I am typing at my normal speed, I type between 5 and 8
> characters a second which would indicate that I need to keep this value
> somewhere above .2 seconds to be able to just type straight through, and
> the default (which I haven't changed) should be somewhere around .5
> seconds or higher.
>
> Eric
>

Re: [68cat][code] Code Hints activation appears to take full control

by esmithbss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for the response Daniel.  I didn't think I was the only person
hitting this issue.  I'm pretty sure it's a simple as a synchronous call
that should be asynchronous, an IPC issue with threading, or something
similar.  At this point it's an annoyance, but IMO I would like to see
this cleaned up before NB 6.8 is golden.

Eric


Daniel Sheppard wrote:

> I believe that I am also seeing the same thing with Groovy.  It is hard to be sure because it isn't happening at each time code completion could occur.
>
> Dan
>
> On Sunday 18 Oct 2009 19:04:17 Eric M. Smith wrote:
>  
>> I'm seeing this in Ruby and haven't noticed it as much in Java (although
>> it probably is there), but has anyone else encountered the following in
>> any language:
>>
>> When I am typing, as I type through a dotted notation item, when I hit
>> the period key and continue typing, NB launches the code completion/hint
>> system and "hangs" for about 2 or 3 seconds as if launching the code
>> completion/hint system takes all the processing power of NB and NB has
>> to stop everything else while it gets the new component started.
>>
>> If I remember correctly, there is a setting that I can use to change the
>> delay it takes before the code completion system is automatically
>> started, but when I am typing at my normal speed, I type between 5 and 8
>> characters a second which would indicate that I need to keep this value
>> somewhere above .2 seconds to be able to just type straight through, and
>> the default (which I haven't changed) should be somewhere around .5
>> seconds or higher.
>>
>> Eric
>>
>>    
>
>  

Re: [68cat][code] Code Hints activation appears to take full control

by Erno Mononen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think you might be running into
http://www.netbeans.org/issues/show_bug.cgi?id=174627 (the summary may
be a bit misleading, but if you check all the comments in the issue
you'll see it's about code completion too).

Erno


Eric M. Smith wrote:

> Thank you for the response Daniel.  I didn't think I was the only
> person hitting this issue.  I'm pretty sure it's a simple as a
> synchronous call that should be asynchronous, an IPC issue with
> threading, or something similar.  At this point it's an annoyance, but
> IMO I would like to see this cleaned up before NB 6.8 is golden.
>
> Eric
>
>
> Daniel Sheppard wrote:
>> I believe that I am also seeing the same thing with Groovy.  It is
>> hard to be sure because it isn't happening at each time code
>> completion could occur.
>>
>> Dan
>>
>> On Sunday 18 Oct 2009 19:04:17 Eric M. Smith wrote:
>>  
>>> I'm seeing this in Ruby and haven't noticed it as much in Java
>>> (although it probably is there), but has anyone else encountered the
>>> following in any language:
>>>
>>> When I am typing, as I type through a dotted notation item, when I
>>> hit the period key and continue typing, NB launches the code
>>> completion/hint system and "hangs" for about 2 or 3 seconds as if
>>> launching the code completion/hint system takes all the processing
>>> power of NB and NB has to stop everything else while it gets the new
>>> component started.
>>>
>>> If I remember correctly, there is a setting that I can use to change
>>> the delay it takes before the code completion system is
>>> automatically started, but when I am typing at my normal speed, I
>>> type between 5 and 8 characters a second which would indicate that I
>>> need to keep this value somewhere above .2 seconds to be able to
>>> just type straight through, and the default (which I haven't
>>> changed) should be somewhere around .5 seconds or higher.
>>>
>>> Eric
>>>
>>>    
>>
>>  


Re: [68cat][code] Code Hints activation appears to take full control

by esmithbss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think this is at the heart of a number of code completion issues.  I  
cannot think of any reason that the index manager should re writing  
back while it is reading the index (as this indicates).


Eric M. Smith
314.315.2710


On Oct 19, 2009, at 2:14 AM, Erno Mononen <Erno.Mononen@...> wrote:

>
> I think you might be running into http://www.netbeans.org/issues/show_bug.cgi?id=174627 
>  (the summary may be a bit misleading, but if you check all the  
> comments in the issue you'll see it's about code completion too).
>
> Erno
>
>
> Eric M. Smith wrote:
>> Thank you for the response Daniel.  I didn't think I was the only  
>> person hitting this issue.  I'm pretty sure it's a simple as a  
>> synchronous call that should be asynchronous, an IPC issue with  
>> threading, or something similar.  At this point it's an annoyance,  
>> but IMO I would like to see this cleaned up before NB 6.8 is golden.
>>
>> Eric
>>
>>
>> Daniel Sheppard wrote:
>>> I believe that I am also seeing the same thing with Groovy.  It is  
>>> hard to be sure because it isn't happening at each time code  
>>> completion could occur.
>>>
>>> Dan
>>>
>>> On Sunday 18 Oct 2009 19:04:17 Eric M. Smith wrote:
>>>
>>>> I'm seeing this in Ruby and haven't noticed it as much in Java  
>>>> (although it probably is there), but has anyone else encountered  
>>>> the following in any language:
>>>>
>>>> When I am typing, as I type through a dotted notation item, when  
>>>> I hit the period key and continue typing, NB launches the code  
>>>> completion/hint system and "hangs" for about 2 or 3 seconds as if  
>>>> launching the code completion/hint system takes all the  
>>>> processing power of NB and NB has to stop everything else while  
>>>> it gets the new component started.
>>>>
>>>> If I remember correctly, there is a setting that I can use to  
>>>> change the delay it takes before the code completion system is  
>>>> automatically started, but when I am typing at my normal speed, I  
>>>> type between 5 and 8 characters a second which would indicate  
>>>> that I need to keep this value somewhere above .2 seconds to be  
>>>> able to just type straight through, and the default (which I  
>>>> haven't changed) should be somewhere around .5 seconds or higher.
>>>>
>>>> Eric
>>>>
>>>>
>>>
>>>
>