3641fc33d6
Sorry for the length of the CL. I couldn't really think of a good way to split it up further. The first pass was previously suggesting everything declared in scopes below the class level. This CL expands that to include everything declared in the current library. It does not include imported declarations. It also doesn't yet handle members suggested after a period. Those are both being handled by constributors. Please look over the tests carefully. There are more changes than I would have liked, although I think they're mostly for the better (as in, the suggestions are more accurate), but I could easily have missed an invalid change. Change-Id: I98b3cfc8440ee5da09a8e6828c946d65d8d77759 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338482 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Keerti Parthasarathy <keertip@google.com>