zed/assets/settings
Tim Masliuchenko 7855b9e9a8
Allow to handle autoclosed characters differently (#8666)
Adds the `always_treat_brackets_as_autoclosed` setting to control how
the autoclosed characters are handled.

The setting is off by default, meaning the behaviour stays the same
(following how VSCode handles autoclosed characters).
When set to `true`, the autoclosed characters are always skipped over
and auto-removed no matter how they were inserted (following how Sublime
Text/Xcode handle this).


https://github.com/zed-industries/zed/assets/471335/304cd04a-59fe-450f-9c65-cc31b781b0db


https://github.com/zed-industries/zed/assets/471335/0f5b09c2-260f-48d4-8528-23f122dee45f

Release Notes:

- Added the setting `always_treat_brackets_as_autoclosed` (default:
`false`) to always treat brackets as "auto-closed" brackets, i.e.
deleting the pair when deleting start/end, etc.
([#7146](https://github.com/zed-industries/zed/issues/7146)).

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
2024-03-20 09:35:42 +01:00
..
default.json Allow to handle autoclosed characters differently (#8666) 2024-03-20 09:35:42 +01:00
initial_local_settings.json Remove links to docs.zed.dev (#7187) 2024-01-31 22:26:15 -07:00
initial_tasks.json Small improvements of the task terminal spawn behavior (#9399) 2024-03-15 18:32:59 +02:00
initial_user_settings.json Update default ui font settings 2023-11-21 10:43:18 -05:00