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
Until #15 is implemented (which needs dart-lang/sdk#27034), the answers are a bit lame. You could either see the args in the completion list before completing, you can hover over the abs part to get a tooltip, or you could F12 into it.
I tend to use the tooltips currently (though I'm not writing much Dart - spare time tends to go on Dart, so still no real Dart work!) but this is one of my big annoyances - it's basically functionality I've not been able to provide yet :(
I've added a comment on dart-lang/sdk#27034 in the hope it might be considered sooner. If not, if I can get a chunk of spare time, I might have another go to see if there's an alternative way I can do it (I'd need to get some sort of AST, maybe the AS exposes something like that through one of the other calls) or see if I can get the SDK building on my machine in a way that I would try implement myself to send a PR (though that's a long shot, I don't know if I know enough to implement it in a way that'd get merged).
I got nowhere trying to make this work using other APIs (and I've spent many hours over several days trying) so I'm gonna mark this as a dupe of #15 and dart-lang/sdk#27034. I don't think there's a good way I can fix this until the Analzyer has support for it (though if anyone has ideas I'm open to suggestions - this is one of my biggest annoyances writing Dart!).
I'm staring at code like this:
_counter.abs()
and I'm wondering "what goes into abs(), if anything?"How do I answer that question, using Visual Code? Can I see the API docs? Can it tell me what goes in here?
Or, do I have to jump to the source to see how to use it?
Thanks!
The text was updated successfully, but these errors were encountered: