-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent code assist suggestions for range expression #690
Comments
If you pause before typing the dot, does it change? When typing quickly, reconcile does not run and so the semantics of the new code is not known. |
I tried to type |
In any case, I would say that I would prefer to be blocked for a while waiting for the reconciler to produce a consistent suggestion list rather than having an inconsistent suggestion list appear quickly... |
Could you increase the auto-activation delay? There may be a number that allows the reconciler to finish and give you the proper suggestions. If we can establish what a working delay is, we can then discuss what a preferred delay would be. |
I've risen the auto-activation delay up to 5000 ms (a looong delay), but I still see the same behaviour. |
Ready to test |
Tested with 3.1.0.xx-201808212342-e47, works as expected! 👍 |
Found while verifying #676.
Ensure auto activation is enabled and type:
(1..2).ea
. Code assist will be shown and will listeach
andeachWithIndex
. While code assist suggestion list is open, hit Ctrl+Space to cycle through proposals. Otherwise, close the suggestion list and hit ctrl+space: a new suggestion list is shown, including, for instance,forEach
.It seems like that when auto-activation occurs, the range is evaluated as Object, while after you call code assist "manually", it's evaluated as
Iterable
, hence giving additional proposals.The text was updated successfully, but these errors were encountered: