Zed Weekly: #18
Zed's semantic index now batches embedding requests by token count rather than span count, cutting OpenAI requests and improving throughput and consistency. A new embeddings cache skips re-embedding unchanged tree-sitter spans and reduces incremental indexing tokens by about 75%. The first inline AI assistant has merged. Other updates: Tailwind completions using multiple language servers per file, automatic Python virtualenv activation in v0.102, reconnection handling for collaborative channel notes, rust-analyzer inlay hint fixes, and progress on replace-in-buffer search.
Related posts
- Zed Weekly: #17
Zed easyNoviceWeekly team update from the Zed editor team covering AI features, channels, language support and UI work. Highlights include an inline assistant that needed a custom incremental diff algorithm to apply GPT's token-by-token stream as edit hunks, an eager/lazy operation queue for the semantic index, and per-language and per-syntax-scope word-character configuration so PHP `$` variables and kebab-case Tailwind classes inside JSX autocomplete correctly. Other items cover vim relative line numbers and `.` repeat, collaborative markdown channel notes, Taffy-based layout with Tailwind-style Rust helpers, inlay hint resolve work that could shrink rust-analyzer responses by over 50%, and a version-string sorting bug that appeared when versions rolled from 0.99 to 0.100.
- 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.
- Zed Weekly: #28
Zed mediumAdeptZed 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.
- 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.
- Copilot x Zed
Zed mediumAdeptGitHub Copilot is now available in Zed v0.82, integrated by reusing the undocumented, minified Copilot LSP server shipped in the Neovim plugin, which Zed's built-in LSP support could drive directly. Supporting it required a new modal UI for Copilot's device-code OAuth flow and a 'suggestions' layer in Zed's DisplayMap that splices styled multi-line text into the buffer alongside folding and wrapping, covered by randomized testing. To keep it from being intrusive, Zed added per-language disable settings and a 75ms debounce, and gives the language's real LSP autocomplete priority over Copilot on conflicts.