Skip to content

Special check when autocompleting brackets #372

@bortkiewicz

Description

@bortkiewicz

hello i'm back

Is your feature request related to a problem? Please describe.

Let's say | is the cursor.

If I pressed the ( key when the context is | a, I would probably want it the bracket to be autocompleted into () a.

However, if I press the ( key when the context is |a (directly adjacent to the a), I would not want the bracket to be autocompleted. In other editors like VSCode, this is how it behaves like, so it should also behave like this here.

Describe the solution you'd like

See above.

I know this is probably better suited to be in the QCodeEditor repo, but I'm putting it here for bookkeeping.

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlow_priorityThis label is for issues that have less prority for now.qcodeeditorIssue related to QCodeEditor

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions