assistant_context_editor: Put use
s 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:
parent
ec91a8dc82
commit
35ddb432b3
1 changed files with 7 additions and 7 deletions
|
@ -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>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue