Skip to content

Implement multicolor highlight of brackets (Bracket Pair Colorizer) #4728

@me2beats

Description

@me2beats

Describe the project you are working on

Games

Describe the problem or limitation you are having in your project

When I write code with brackets like something(some(a, b, Vector2(2,0,0))) it can be hard to see matched brackets. Sometimes I even had errors in the running game, because I wrote code in wrong place.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Implementing multi-color highlight of matching brackets would solve the problem

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Like this
syntax_dark_plus

  • this could be optional, a checkbox brackets multicolor highlight could be in EditorSetting.

If this enhancement will not be used often, can it be worked around with a few lines of script?

It can't, Editor related

Is there a reason why this should be core and not an add-on in the asset library?

To make it as a plugin, I can't see some API methods for that. AFAIK TextEdit doesn't allow to do this

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions