-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featureIssues with the analysis server's code completion featuretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
If you have the following code:
import 'dart:math' show l^This is what code completion looks like.
20250211_081458.mp4
It does know we are inside a combinator and it doesn't add the braces. But to me, this feels like when you are completing it as a call. When you do complete log as a call (inside a body for example), it adds (x).
I'd like to ask, similarly to #59929, that we change the info here to something like function. So it doesn't feel like it will add unwanted braces.
I'm not sure this is enough of a reason to change, but it feels a bit off that the info is the same but the completion is not.
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featureIssues with the analysis server's code completion featuretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug