Problem on both 8.0.2 and dev
This is a .java file.
NOTE: "case sensitive code completion" is not checked.
- in any method enter:
- let the completion options come up
Observe that the result is (| shows the cursor after the space)
and the code completion window to stay up
Since NOT case sensitive, should not complete, expect common prefix completion.
It's been a while since I've done a lot of work with NB.
Maybe the fix for Bug 208223 broke things. I find I've been doing a lot more
typing because of what tab does during completion.
BTW, I think Bug 208223 is a big mistake. It's like dumbing down the editor so
that it behaves like IDEA. Have an option maybe, but unconditionally
changing the behavior, causes more typing (at least for me).
observe list of several exceptions
observe filling in common prefix
- note: if <tab> entered again at this point completion finishes
It could be argued that since the highlighted item shares a common
prefix that prefix should be completed. Better to do nothing.
- Consider this one, enter
observe about 6 items,
observe the list goes down to three items. In this case I want one of the
illegalaccess choices so I quickly
and it completes, even though the highlighted item has a long common
prefix with the next item. I made a mistake. (I should have entered
"ac<tab>".) If nothing had happened it's easily fixed, I can just enter
the "C", but not so easy if it completes.
I can file this 2nd part about wanting to turn off "<tab>" completion, if
that would be better. Let me know.
Common prefix completion should respect case sensitivity - fixed in jet-main.
As for the option for switching off the tab completion - please file a new enhancement please.
Integrated into 'main-silver', will be available in build *201503130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Dusan Balek <firstname.lastname@example.org>
Log: Issue #251017: During "code completion" single TAB key sometimes completes rather than common-prefix - fixed.