- The point I've been trying to make, I think on other threads too, is that the ordering is going to be wrong in many cases.
Because, the only way it could be right in most cases...is if it could read your mind:)
Just first consider the situation for what it is...and then we can talk about concrete solutions.
In the example in this thread, there is an ambiguous expression when it comes to code completion.
next > selfAn intuitive fact: Over many trials with many people...you can expect the ordering to be wrong about 1/2 the time.
That's because the probability that a person wants to apply completion against 'self' is probably the same as the probability that person want to complete (next > self).
Obviously, the tool can't know the correct ordering in this case.
Doc Ref:
https://www.instantiations.com/docs/921/wwhelp/wwhimpl/js/html/wwhelp.htm#href=vaast/vaast-3cc.htmlSolution 1: Try playing around with "
Method Receiver Sort Policy" (and read the description in the doc because it touches on this issue).
Perhaps, you personally, will get to a place where the ordering is right more often than its wrong.
Solution 2: Use the "live filtering support" and get comfortable with the hotkey that quickly inverts the ordering. By default this is <Ctrl+Shift+I>. This is described in the "Live Filtering Support:" section right underneath the section from Solution 1.
This is personally the one that I use and is most efficient for me because <Ctrl+Shift+I> is part of my muscle memory and it takes me a split second to invert the order...its not something I even consciously think about anymore. I know I have to make the choice about the ordering, so I believe this to be the quickest way rather than scrolling through a list until you find the right entry.
Possible Solution 3: Have an option to remove the precedence stuff altogether leaving you to manually insert parenthesis. The problem here from my standpoint is there is about a 50-80ms window to hit and all the entries must still be captured....but now merged into a unique set. Its difficult to do that and still maintain that time constraint. And personally I would loath having to go back and complete parenthesis all the time...especially since the live filtering is almost 0 effort if you have trained yourself to use it. But if I could get that to be fast enough, then I would add it as an option
Other solutions?
I'm open...let me know specifically how you think it ought to work.
- Seth