Zed Weekly: #28
Zed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1. Team updates cover porting core UI such as popovers, autocomplete menus and breadcrumbs. The UI component work introduces a shared `ButtonLike` base for `Button` and `IconButton` and Rust traits like `Selectable` that concrete components delegate to, keeping APIs and styling consistent. Other updates include typescript-language-server, eslint and prettier fixes, plus an idea for searching gitignored directories in the file finder.
Related posts
- This Week at Zed Industries: #16
Zed mediumAdeptZed has started using its new channels feature internally, where members can message, talk, share screens and co-edit projects, and plans to use it to stream development and host office hours once the editor is open-sourced. Alongside this, GPUI layout and styling are being reworked with the taffy layout engine and Tailwind-like style methods. Antonio proposes `auto` and `prettier` options for the formatter setting. Mikayla walks through a new composable Component primitive for GPUI in Rust: a builder-style trait consumed into an Element, a StylableComponent trait with associated Style/Output types, and the Typestate pattern using `()` as an unbound style, so wrappers like Hover and Toggle compose type-safely and rendering an unstyled component fails at compile time.
- Zed Weekly: #26
Zed mediumAdeptZed's team reports progress porting the editor to GPUI 2, including a new action- and key-context-based keyboard handling API shown with a Rust menu example. Other updates: tsserver integration broke when an upstream LSP wrapper removed deprecated CLI flags, a reminder to track changes in unpinnable dependencies. The theme system now models user themes as overlays on a base theme, and a Cargo feature flag breaks the circular dependency between the theme importer and the generated themes it emits. Smaller notes cover Prettier and diagnostics fixes, component stories, telemetry, and passing 1000 weekly active installs.
- Zed Weekly: #25
Zed mediumAdeptZed is rewriting its UI framework as GPUI 2 and porting the whole editor onto it before open-sourcing, trading feature work for better ergonomics while keeping GPUI 1's performance. All state lives in an AppContext that acts like an application-specific heap: Model<T> handles are dereferenced through a context, and models emit and subscribe to events. View<T> wraps models whose types implement a Render trait that returns element trees. Components, Tailwind-style styling helpers, a color-scale-based theme system and a new layout engine and executor round out the design. Bottleneck crates (project, workspace, editor) made the port largely serial, so the team leaned on Rust's type system and Zed's collaborative editing to pair on it, with roughly a third to half of the app ported after two weeks.
- Zed Weekly: #23
Zed mediumAdeptZed's weekly team update covers a fix for typing lag with autocomplete. Completion re-filtering was offloaded to background workers, but a higher-level callsite blocked the UI thread waiting on that future, so the re-filter now runs without blocking and races the re-request to the language server. Other items: UI components migrated to the latest GPUI with stories now living beside each component, GPUI 2's stateless element model requiring IDs on stateful elements such as click handlers, prettier and Vue.js integration in the next preview, Universal Links, channel permissions and a notifications panel.
- This Week at Zed Industries: #8
Zed easyNoviceZed's weekly team update covers work on the AI assistant panel (multi-cursor, message splitting, saved conversations), voice collaboration via GPUI, and inlay hint latency and caching. Performance fixes include lazily loading gitignored and out-of-project symlinked directories to cut memory, CPU and collaboration sync costs, and only updating the mouse cursor style when it changes, which removes an expensive per-frame cursor rasterization in the immediate-mode GPUI. The team also started work on an embedding and indexing engine for semantic navigation, and is considering moving GPUI from Flutter-style specialized elements to an HTML/CSS-like single element with runtime styling to shorten Rust compile feedback loops.