Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant_context_editor: Put `use`s in the right spot (#23579)
Marshall Bowers35ddb432b3db
diff --git a/crates/assistant_context_editor/src/context_editor.rs b/crates/assistant_context_editor/src/context_editor.rsindex 7f4b27057fc..e73ac2a46dd 100644--- a/crates/assistant_context_editor/src/context_editor.rs+++ b/crates/assistant_context_editor/src/context_editor.rs@@ -57,6 +57,13 @@ use workspace::{Workspace,};+use crate::{slash_command::SlashCommandCompletionProvider, slash_command_picker};+use crate::{+ AssistantPatch, AssistantPatchStatus, CacheStatus, Content, Context, ContextEvent, ContextId,+ InvokedSlashCommandId, InvokedSlashCommandStatus, Message, MessageId, MessageMetadata,+ MessageStatus, ParsedSlashCommand, PendingSlashCommandStatus, RequestType,+};+actions!(assistant,[@@ -80,13 +87,6 @@ pub enum InsertDraggedFiles {impl_internal_actions!(assistant, [InsertDraggedFiles]);-use crate::{slash_command::SlashCommandCompletionProvider, slash_command_picker};-use crate::{- AssistantPatch, AssistantPatchStatus, CacheStatus, Content, Context, ContextEvent, ContextId,- InvokedSlashCommandId, InvokedSlashCommandStatus, Message, MessageId, MessageMetadata,- MessageStatus, ParsedSlashCommand, PendingSlashCommandStatus, RequestType,-};-#[derive(Copy, Clone, Debug, PartialEq)]struct ScrollPosition {offset_before_cursor: gpui::Point<f32>,