Skip to content

Add brace / bracket / paren matching to the REPL #153401

Open

Description

@johnslavik

Feature or enhancement

Proposal:

If I touch a paren or a brace or a bracket with the cursor, highlight the other matching paren / brace / bracket.

We can also consider coloring them differently, but lazily highlighting matching parens would probably be much more useful and less tiring for the eyes.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added
    type-featureA feature request or enhancement
    stdlibStandard Library Python modules in the Lib/ directory
    topic-replRelated to the interactive shell
    on Jul 9, 2026
  2. self-assigned this
    on Jul 9, 2026
  3. changed the title [-]Add paren matching to the REPL[/-] [+]Add bracket & paren matching to the REPL[/+] on Jul 9, 2026
  4. changed the title [-]Add bracket & paren matching to the REPL[/-] [+]Add brace / bracket / paren matching to the REPL[/+] on Jul 9, 2026
  5. edvilme commented on Jul 9, 2026

    @edvilme
    Contributor

    Hi, if you're not planning to already, I would love to work on this :)

  6. johnslavik commented on Jul 9, 2026

    @johnslavik
    MemberAuthor

    Thanks @edvilme, I'd like to make the PR this time. Feel invited to review it though.

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

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions