Skip to content

Use completion commit characters so ( is only inserted when used to commit #2125

@vogella

Description

@vogella

If I code complete on "_saySomething" I get _saySomething() which the compiler immediately complains about.

    return AppBar(
          title: Text("Super application"),
          actions: [
            IconButton(
              icon: Icon(Icons.access_alarm),
              onPressed: _saySomething,
            )
          ],
        );
  }
 void _saySomething() {
    print("pressed");
  }

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