zed/.zed
Lukas Wirth dba13522d6
worktree: Implement read_only_files worktree setting (#44376)
This mimics VSCode's `files.readonlyExclude` setting, to allow setting
specific path matches as readonly locations like lockfiles and generated
sources etc.

Also renders a lock icon to the right side of the path names for
readonly files now.
This does a couple more things for completion sake:
- Tabs of readonly buffers now render a file lock icon
- Multibuffer buffer headers now render a file lock icon if the excerpts
buffer is readonly
- ReadWrite multibuffers now no longer allow edits to read only buffers
contained within

Release Notes:

- Added `read_only_files` setting to allow specifying glob patterns of
files that should not be editable by default

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2026-01-04 13:18:34 +00:00
..
debug.json Edit debug tasks (#32908) 2025-07-07 14:04:21 -07:00
settings.json worktree: Implement read_only_files worktree setting (#44376) 2026-01-04 13:18:34 +00:00
tasks.json A set of small fixes (#16849) 2024-08-26 02:24:08 +03:00