1. Create a schema-based XML document (e.g. web.xml in web project):
<?xml version="1.0" encoding="UTF-8"?>
2. Place caret after the opening <web-app ...> element and press enter.
3. Code completion window with possible choices appears, so when I press enter again, it does not do what I intended - instead it selects a choice in the completion window. Or if I press up/down arrows, it again does not do what I intended.
This behavior is inconsistent with other file types.
I've removed the automatic completion popup if "entered text is empty".
It means that f.e. for special keys ( enter , space, up, down, .... ) there will
be no autocompletion.
But autocompletion still works for real entered text. I believe this is useful.
In case if you think autcompletion should be completely disabled please downgrade
this issue and reopen it.
There is not other requests to remove this feature so I think it is useful
( except reported really annoying problem with enter key ).
TM = 7.0 - does it mean you fixed it into release70 branch directly?
No , sorry.
I've fixed it in the trunk .
Am I wrong ?
Thanks a lot Denis, I think the behavior as you describe it is good. I am marking this as a 7.0 candidate.
What Marian meant - you should set TM to Dev, because right now this is only fixed in trunk (Dev). See: http://wiki.netbeans.org/NB70HighResistance
Thanks for correction.
Integrated into 'main-golden', will be available in build *201103160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Denis Anisimov <firstname.lastname@example.org>
Log: Fix for BZ#196170 - Autocompletion window pops up too aggressively
David, could you please review the fix ?
The fix looks innocent. And fixes the problem.
(In reply to comment #8)
> The fix looks innocent. And fixes the problem.
Ok, Dennis could you please integrate the fix into rleease70 today by 8pm CET? Thanks in advance.
I'm sorry Marian but I've tried to follow the procedure :
And there is still no QA approval.
OK, I will fix into release70.
Verified in build 7.0 RC1 (Build 201103250000).