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:
@@ -57,6 +57,13 @@ use workspace::{
|
|||||||
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!(
|
actions!(
|
||||||
assistant,
|
assistant,
|
||||||
[
|
[
|
||||||
@@ -80,13 +87,6 @@ pub enum InsertDraggedFiles {
|
|||||||
|
|
||||||
impl_internal_actions!(assistant, [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)]
|
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||||
struct ScrollPosition {
|
struct ScrollPosition {
|
||||||
offset_before_cursor: gpui::Point<f32>,
|
offset_before_cursor: gpui::Point<f32>,
|
||||||
|
|||||||
Reference in New Issue
Block a user