assistant_context_editor: Put uses in the right spot (#23579)

This PR cleans up some `use` statements that weren't at the very top of
the module.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-01-23 16:58:33 -05:00 committed by GitHub
parent ec91a8dc82
commit 35ddb432b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>,