Skip to content

Support automatically displaying signature information, when appropriate #1132

@Skylled

Description

@Skylled

The new Signature Help feature triggers almost constantly, even when it doesn't make sense to, like inside of comments. Or the signature shown will be for something the next layer up.

Example code:

return ListTile(
  title: Text("Enable notifications"),
  trailing: Switch(
    value: notificationsEnabled,
    onChanged: (bool enabling){
      if (enabling) {
        // type this comma -> , and get the signature of Switch()
      } else {
        // ...
      }
    },
  ),
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions