Detailed changes
@@ -1,5 +1,5 @@
use gpui::{
- actions, div, prelude::*, FocusHandle, Focusable, KeyBinding, Div, Render, Stateful, View,
+ actions, div, prelude::*, Div, FocusHandle, Focusable, KeyBinding, Render, Stateful, View,
WindowContext,
};
use theme2::ActiveTheme;
@@ -1,5 +1,5 @@
use fuzzy::StringMatchCandidate;
-use gpui::{div, prelude::*, KeyBinding, Div, Render, Styled, Task, View, WindowContext};
+use gpui::{div, prelude::*, Div, KeyBinding, Render, Styled, Task, View, WindowContext};
use picker::{Picker, PickerDelegate};
use std::sync::Arc;
use theme2::ActiveTheme;
@@ -1,6 +1,4 @@
-use gpui::{
- div, prelude::*, px, Div, Render, SharedString, Stateful, Styled, View, WindowContext,
-};
+use gpui::{div, prelude::*, px, Div, Render, SharedString, Stateful, Styled, View, WindowContext};
use theme2::ActiveTheme;
pub struct ScrollStory;
@@ -126,7 +126,7 @@ pub use stories::*;
mod stories {
use super::*;
use crate::{Label, Story};
- use gpui::{InteractiveComponent, Div, Render};
+ use gpui::{Div, InteractiveComponent, Render};
pub struct PanelStory;
@@ -1,8 +1,8 @@
use gpui::rems;
use gpui::Rems;
pub use gpui::{
- div, Component, Element, ElementId, InteractiveComponent, ParentComponent, SharedString, Styled,
- ViewContext, WindowContext,
+ div, Component, Element, ElementId, InteractiveComponent, ParentComponent, SharedString,
+ Styled, ViewContext, WindowContext,
};
pub use crate::elevation::*;
@@ -1,7 +1,7 @@
use crate::{status_bar::StatusItemView, Axis, Workspace};
use gpui::{
- div, Action, AnyView, AppContext, Entity, EntityId, EventEmitter, Div, ParentComponent,
- Render, Subscription, View, ViewContext, WeakView, WindowContext,
+ div, Action, AnyView, AppContext, Div, Entity, EntityId, EventEmitter, ParentComponent, Render,
+ Subscription, View, ViewContext, WeakView, WindowContext,
};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
@@ -1,5 +1,5 @@
use gpui::{
- div, prelude::*, px, AnyView, EventEmitter, FocusHandle, Div, Render, Subscription, View,
+ div, prelude::*, px, AnyView, Div, EventEmitter, FocusHandle, Render, Subscription, View,
ViewContext, WindowContext,
};
use ui::{h_stack, v_stack};
@@ -165,7 +165,7 @@ impl Workspace {
pub mod simple_message_notification {
use super::{Notification, NotificationEvent};
- use gpui::{AnyElement, AppContext, EventEmitter, Div, Render, TextStyle, ViewContext};
+ use gpui::{AnyElement, AppContext, Div, EventEmitter, Render, TextStyle, ViewContext};
use serde::Deserialize;
use std::{borrow::Cow, sync::Arc};
@@ -7,9 +7,9 @@ use crate::{
use anyhow::Result;
use collections::{HashMap, HashSet, VecDeque};
use gpui::{
- actions, prelude::*, register_action, AppContext, AsyncWindowContext, Component, EntityId,
- EventEmitter, FocusHandle, Model, Div, PromptLevel, Render, Task, View, ViewContext,
- VisualContext, WeakView, WindowContext,
+ actions, prelude::*, register_action, AppContext, AsyncWindowContext, Component, Div, EntityId,
+ EventEmitter, FocusHandle, Model, PromptLevel, Render, Task, View, ViewContext, VisualContext,
+ WeakView, WindowContext,
};
use parking_lot::Mutex;
use project2::{Project, ProjectEntryId, ProjectPath};
@@ -2,8 +2,8 @@ use std::any::TypeId;
use crate::{ItemHandle, Pane};
use gpui::{
- div, AnyView, Component, Div, ParentComponent, Render, Styled, Subscription, View,
- ViewContext, WindowContext,
+ div, AnyView, Component, Div, ParentComponent, Render, Styled, Subscription, View, ViewContext,
+ WindowContext,
};
use theme2::ActiveTheme;
use util::ResultExt;
@@ -37,10 +37,10 @@ use futures::{
};
use gpui::{
actions, div, point, prelude::*, rems, size, Action, AnyModel, AnyView, AnyWeakView,
- AppContext, AsyncAppContext, AsyncWindowContext, Bounds, Component, Entity, EntityId,
- EventEmitter, FocusHandle, GlobalPixels, KeyContext, Model, ModelContext, Div,
- ParentComponent, Point, Render, Size, Styled, Subscription, Task, View, ViewContext, WeakView,
- WindowBounds, WindowContext, WindowHandle, WindowOptions,
+ AppContext, AsyncAppContext, AsyncWindowContext, Bounds, Component, Div, Entity, EntityId,
+ EventEmitter, FocusHandle, GlobalPixels, KeyContext, Model, ModelContext, ParentComponent,
+ Point, Render, Size, Styled, Subscription, Task, View, ViewContext, WeakView, WindowBounds,
+ WindowContext, WindowHandle, WindowOptions,
};
use item::{FollowableItem, FollowableItemHandle, Item, ItemHandle, ItemSettings, ProjectItem};
use itertools::Itertools;