zed/crates/worktree/src
Dino 61a414df77
Fix language server renaming when parent directory does not exist (#43499)
Update the `fs::RenameOptions` used by
`project::lsp_store::LocalLspStore.deserialize_workspace_edit` in order
to always set `create_parents` to `true`. Doing this ensures that we'll
always create the folders for the new file path provided by the language
server instead of failing to handle the request in case the parent

- Introduce `create_parents` field to `fs::RenameOptions`
- Update `fs::RealFs.rename` to ensure that the `create_parents` option
is respected

Closes #41820 

Release Notes:

- Fixed a bug where using language server's file renaming actions could
fail if the parent directory of the new file did not exist
2025-11-26 19:34:03 +00:00
..
ignore.rs Add handling of git's core.excludesFile (#33592) 2025-09-11 21:00:03 -04:00
worktree.rs Fix git features not working when a Windows host collaborates with a unix guest (#43515) 2025-11-26 16:56:34 +00:00
worktree_settings.rs Remove settings::Maybe (#42933) 2025-11-18 10:23:16 -07:00
worktree_tests.rs Fix language server renaming when parent directory does not exist (#43499) 2025-11-26 19:34:03 +00:00