Skip to content

🐞 Autocomplete Braces setting is completely non-functional #1691

Description

@knotbin

Description

Even when you disable the setting "Autocomplete Braces," braces still autocomplete in the editor.

To Reproduce

  1. Go into settings from the menu bar
  2. Click 'Text Editing'
  3. Scroll down and disable 'Autocomplete braces'
  4. Go into the text editor and open braces and press enter, closing braces will be autofilled.

Expected Behavior

When disabled, closing braces should not be autofilled.

Version Information

CodeEdit: 0.1.0-dev (38)
macOS: 17.4.1
Xcode: 15.3

Additional Context

No response

Screenshots

No response

Activity

  1. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Apr 19, 2025
  2. cavoco commented on Feb 27, 2026

    @cavoco

    Hi! I'd like to take this one. I've traced the issue — the autocompleteBraces setting is defined in TextEditingSettings and wired to the UI toggle, but it's never passed through to the SourceEditor configuration. The Behavior struct in CodeEditSourceEditor doesn't have a bracket completion flag, so setUpTextFormation() always registers the bracket pair filters unconditionally. The fix will need a small change in CodeEditSourceEditor to add the flag, then wiring it up in CodeFileView.swift.

  3. added a commit that references this issue on Feb 27, 2026
    4bb8488
  4. suyashjain004 commented on May 2, 2026

    @suyashjain004

    Hi! I'd like to work on this issue. Could a maintainer please assign it to me? I've forked the repo and plan to trace the settings → CodeEditSourceEditor wiring gap to implement the fix.

  5. cavoco commented on May 5, 2026

    @cavoco

    I have a fix for this up since the end of Feb and still waiting for a review: CodeEditApp/CodeEditSourceEditor#366

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions