Skip to content

Fix: Pass autocompleteBraces setting to source editor#2169

Open
William-Laverty wants to merge 1 commit intoCodeEditApp:mainfrom
William-Laverty:fix/autocomplete-braces-setting
Open

Fix: Pass autocompleteBraces setting to source editor#2169
William-Laverty wants to merge 1 commit intoCodeEditApp:mainfrom
William-Laverty:fix/autocomplete-braces-setting

Conversation

@William-Laverty
Copy link

Summary

Reads the autocompleteBraces setting via @AppSettings and passes it to the SourceEditorConfiguration.Behavior, enabling the existing toggle to actually control bracket auto-completion.

Changes

  • Added @AppSettings(\.textEditing.autocompleteBraces) to CodeFileView
  • Passed the value to SourceEditorConfiguration.behavior

Dependencies

Fixes

Reads the autocompleteBraces setting via @appsettings and passes it to the
SourceEditorConfiguration's behavior, enabling the setting to actually control
whether brackets are auto-completed in the editor.

Requires corresponding change in CodeEditSourceEditor.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞 Autocomplete Braces setting is completely non-functional

1 participant