You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These things all come from the analyzer. We do get back a relevance field but the Code API doesn't have anywhere to put it and I don't think a non-alphabetical sort would be nice here even if accepted and sorted by it.
I think it's by design that the analyzer returns too much and lets the client filter and usually that seems to work fine. In this case, if it's invalid to put anything other than a parameter name here (I presume you can only put more named params after you already put one?) then maybe the analyzer could filter this list, or at least something to let us filter them out if it makes sense for our IDE.
I think dart-lang/sdk#27034 is slightly related to this; with that implemented I think Code would give you information about the signature of the constructor you're calling (though I think it'd be ideal if the list was filtered too).
Tried to see what other named parameters I could provide. Here's what I saw:
Can we do something better here? Can we show only named parameters?
Thanks!
(not sure if this plugin can do something to help, or if we are constrained by what analyzer can tell us... thought I'd open this issue first)
The text was updated successfully, but these errors were encountered: