Smart type completion item sorting

Some time ago we've patched IDEA so that smart completion behaves in a
new way. To be more precisely, it doesn't sort the items
alphabetically, as it did before, but it takes several most relevant
items and places them on top of the list near the preselected most
preferable item. And now it's a bit more convenient to find the needed
lookup element, if, of course, it's included in the top items. Other
items are sorted alphabetically.

To enable this feature, add "sort.lookup.items.by.proximity=true" to
idea.properties. Feedback of two types is appreciated: whether such
ordering is needed at all, and cases where IDEA could be smarter in
determining lookup item relevancy.

0
Avatar
Permanently deleted user

I don't like "intelligent" order, because finding an item becomes harder (I
need to read each entry). With alphabetic sorting I already have a clue
where to find the item.

0
Avatar
Permanently deleted user

I don't like "intelligent" order, because finding an item becomes harder
(I need to read each entry). With alphabetic sorting I already have a
clue where to find the item.


Have you tried? You don't have to read each entry, most of them are
still in alphabetical order. And the groups are clearly separated.

0
Avatar
Permanently deleted user

The very light green looks unclear. I think it will be better if you have a separator (a black line or something).

0
Avatar
Permanently deleted user

The very light green looks unclear. I think it will be better if you have a separator (a black line or something).

We've tried a single-pixel black line separator, but it looked badly.
We'll try to separate in another way, thank you. Now the usability is
more important.

0
Avatar
Permanently deleted user

Hello Peter,

>> The very light green looks unclear. I think it will be better if you
>> have a separator (a black line or something).

We've tried a single-pixel black line separator, but it looked badly.
We'll try to separate in another way, thank you. Now the usability is
more important.


I like the background coloring. Although maybe the color itself could be tweaked a bit, I think it's
OK like that because the different areas are easily distinguishable.

From what I've seen so far, the usability itself is OK.

Sascha

0
Avatar
Permanently deleted user

Have you tried? You don't have to read each entry, most of them are
still in alphabetical order. And the groups are clearly separated.


No, I hadn't tried, but now I did. You are right, the groups are clearly
distinguishable (keep the colors, they are OK).

I assumed, you were doing something like Eclipse' all-in-one-code completion
which is quite hard for me to use, because the list is so full and finding
the few useful entries is a non-trivial task. ;)

Cheers
Tom

0

Hello Peter,

Would it perhaps make sense to have alphabetical order within the "green"
group?

Taras


0
Avatar
Permanently deleted user

Would it perhaps make sense to have alphabetical order within the
"green" group?

The reasons? Now it's a group of most relevant items, sorted by
relevancy. This is for the cases when you don't yet know exctly what you
want to complete, and want to see the variants. So you don't have any
idea on the name you want, and binary search won't help anyway.

0

请先登录再写评论。