Completion problem becauseof "smart" suggestion

When working with collections, it happens, that I want to add an
element:

collection.add(element);

Unfortunately IDEA remembered, that I more often used the
addAll(Collection) method and therefore it is preselected, when the
dot is entered. Typing the opening brace, completes to

collection.addAll(|);

This must not happen! IDEA should assist in coding and what I enter
must have presedence over what IDEA thinks.

I know, that this issue already reported in the tracker, but I wanted
to emphasize it's importance. Please find a good solution in the near
future. Thanks in advance.

Tom

1 comment

Thomas Singer wrote:

Unfortunately IDEA remembered, that I more often used the
addAll(Collection) method and therefore it is preselected, when the
dot is entered. Typing the opening brace, completes to

collection.addAll(|);

This must not happen! IDEA should assist in coding and what I enter
must have presedence over what IDEA thinks.


I've run into this a number of times recently and I must say it is a bit
annoying. The only way to prevent it from happening is to press escape
to dismiss the method popup list before typing the opening brace.

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0

Please sign in to leave a comment.