Skip to content

Add the ability to automatically insert missing } and ) #3344

Closed as not planned

Description

@josejmoran

Describe the bug
If you change some code the beginning ( and { are easily traceable. But if there is a missing end ) or } it is a nightmare to find which one is the missing pair.

To Reproduce
Steps to reproduce the behavior:
Just copy some code from another part of your code and if there is a missing ) or } is hard to tell where and which is missing a ) or }

Expected behavior
Since you have all the beginning ( and { is it possible to kind of automatically match them and if there is one missing add it automatically.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • VS Code version: 1.56.1
  • Dart extension version:
  • Dart/Flutter SDK version: 2.0.6

Activity

  1. added
    in editor
    is enhancement
    and removed on May 17, 2021
  2. added this to the Backlog milestone on May 17, 2021
  3. changed the title [-]Matching parenthesis ) and }[/-] [+]Add the ability to automatically insert missing } and )[/+] on May 17, 2021
  4. FMorschel commented on Aug 30, 2024

    @FMorschel
    Contributor

    Also related to dart-lang/sdk#46916

  5. added and removed
    is enhancement
    in editor
    on Nov 8, 2026
  6. removed this from the Backlog milestone on Nov 8, 2026
  7. DanTupBot commented on Nov 8, 2026

    @DanTupBot
    Collaborator

    Closing as a duplicate of #1832.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions