Files
zed/crates
Kyle Kelley ad24dfd729 repl: Pluck project off of editor directly (#48762)
The new multi workspace introduced in #47795 changed the window root
from `Workspace` to `MultiWorkspace`, which broke
`Workspace::for_window()` (assuming that was meant to). That returns
`None` now. The REPL action registration in `repl_sessions_ui.rs` used
this to check if the project was local, so when it got None, it silently
skipped registering `repl::Run` and `repl::RunInPlace` on every editor.

Luckily we can just get the project directly from the editor in order to
register actions.

Release Notes:

- N/A
2026-02-09 10:03:37 +01:00
..
2026-02-08 17:46:51 -08:00
2026-01-28 21:34:10 +00:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
…
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2025-11-07 11:36:05 +00:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00
2026-02-08 17:46:51 -08:00