Skip to content

Auto-close brackets only triggers after typing another character #855

@datlechin

Description

@datlechin

What happened?

In the query editor, typing an opening bracket like (, {, ', or " doesn't immediately insert the closing pair. You have to type one more character before the auto-close kicks in. If you don't type anything after the opening bracket, you have to close it manually.

Steps to reproduce

  1. Open the query editor
  2. Type an opening bracket: ( or { or ' or "
  3. Notice the closing pair doesn't appear right away
  4. Type any character, then the closing bracket appears

Expected behavior

Closing bracket/quote should appear immediately after typing the opening one, with the cursor placed between them.

Database type

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions