Skip to content

Functions auto completion on combinators could have better info text #60099

@FMorschel

Description

@FMorschel

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

No one assigned

    Labels

    P2A 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.devexp-completionIssues with the analysis server's code completion featuretype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions