Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix formatting for the entire workspace
Antonio Scandurra74ca2231143f
diff --git a/crates/collab/src/tests/integration_tests.rs b/crates/collab/src/tests/integration_tests.rsindex 0a5c7e1d3a6..b34b8ee1259 100644--- a/crates/collab/src/tests/integration_tests.rs+++ b/crates/collab/src/tests/integration_tests.rs@@ -1477,7 +1477,9 @@ async fn test_host_disconnect(.unwrap().downcast::<Editor>().unwrap();- assert!(cx_b.read_window(window_id_b, |cx| editor_b.is_focused(cx)).unwrap());+ assert!(cx_b+ .read_window(window_id_b, |cx| editor_b.is_focused(cx))+ .unwrap());editor_b.update(cx_b, |editor, cx| editor.insert("X", cx));assert!(cx_b.is_window_edited(workspace_b.window_id()));diff --git a/crates/feedback/src/feedback_editor.rs b/crates/feedback/src/feedback_editor.rsindex 8a3656006bc..98566a2361d 100644--- a/crates/feedback/src/feedback_editor.rs+++ b/crates/feedback/src/feedback_editor.rs@@ -248,12 +248,7 @@ impl Entity for FeedbackEditor {}impl Item for FeedbackEditor {- fn tab_content(- &self,- _: Option<usize>,- style: &theme::Tab,- _: &AppContext,- ) -> Element<Pane> {+ fn tab_content(&self, _: Option<usize>, style: &theme::Tab, _: &AppContext) -> Element<Pane> {Flex::row().with_child(Svg::new("icons/feedback_16.svg")diff --git a/crates/gpui/src/test.rs b/crates/gpui/src/test.rsindex c804b297bdd..d2ae646ed4a 100644--- a/crates/gpui/src/test.rs+++ b/crates/gpui/src/test.rs@@ -19,8 +19,8 @@ use crate::{platform,platform::Platform,util::CwdBacktrace,- AppContext, Drawable, Element, Entity, FontCache, Handle, Subscription, TestAppContext,- View, ViewContext,+ AppContext, Drawable, Element, Entity, FontCache, Handle, Subscription, TestAppContext, View,+ ViewContext,};#[cfg(test)]diff --git a/crates/theme_selector/src/theme_selector.rs b/crates/theme_selector/src/theme_selector.rsindex c35dae5c603..68bc17a576d 100644--- a/crates/theme_selector/src/theme_selector.rs+++ b/crates/theme_selector/src/theme_selector.rs@@ -1,7 +1,7 @@use fuzzy::{match_strings, StringMatch, StringMatchCandidate};use gpui::{- actions, elements::*, AnyViewHandle, AppContext, Drawable, Element, Entity, MouseState,- View, ViewContext, ViewHandle,+ actions, elements::*, AnyViewHandle, AppContext, Drawable, Element, Entity, MouseState, View,+ ViewContext, ViewHandle,};use picker::{Picker, PickerDelegate};use settings::{settings_file::SettingsFile, Settings};diff --git a/crates/workspace/src/status_bar.rs b/crates/workspace/src/status_bar.rsindex a6eade03652..0a85f3779ce 100644--- a/crates/workspace/src/status_bar.rs+++ b/crates/workspace/src/status_bar.rs@@ -8,8 +8,8 @@ use gpui::{vector::{vec2f, Vector2F},},json::{json, ToJson},- AnyViewHandle, AppContext, Element, Entity, SceneBuilder, SizeConstraint, Subscription,- View, ViewContext, ViewHandle,+ AnyViewHandle, AppContext, Element, Entity, SceneBuilder, SizeConstraint, Subscription, View,+ ViewContext, ViewHandle,};use settings::Settings;