mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-27 08:34:11 +00:00
Closes https://github.com/zed-industries/zed/issues/12029 Allows to introspect project items inside items more deeply, checking them for being dirty. For that: * renames `project::Item` into `project::ProjectItem` * adds an `is_dirty(&self) -> bool` method to the renamed trait * changes the closing logic to only care about dirty project items when checking for save prompts conditions * save prompts are raised only if the item is singleton without a project path; or if the item has dirty project items that are not open elsewhere Release Notes: - Fixed item closing overly triggering save dialogues |
||
|---|---|---|
| .. | ||
| components | ||
| kernels | ||
| notebook | ||
| outputs | ||
| components.rs | ||
| jupyter_settings.rs | ||
| notebook.rs | ||
| outputs.rs | ||
| repl.rs | ||
| repl_editor.rs | ||
| repl_sessions_ui.rs | ||
| repl_store.rs | ||
| session.rs | ||