Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove gpui (1) dependencies from zed2

Max Brunsfeldbabd41916af4
diff --git a/Cargo.lock b/Cargo.lock
index 4153e0c8c65..904d99edf33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1398,7 +1398,7 @@ dependencies = [
"smol",
"sum_tree",
"tempfile",
- "text",
+ "text2",
"thiserror",
"time",
"tiny_http",
@@ -1867,7 +1867,7 @@ dependencies = [
"editor2",
"feature_flags2",
"futures 0.3.28",
- "fuzzy",
+ "fuzzy2",
"gpui2",
"language2",
"lazy_static",
@@ -6761,7 +6761,6 @@ dependencies = [
"anyhow",
"client2",
"collections",
- "context_menu",
"db2",
"editor2",
"futures 0.3.28",
@@ -11632,7 +11631,6 @@ dependencies = [
"fs2",
"fsevent",
"futures 0.3.28",
- "fuzzy",
"go_to_line2",
"gpui2",
"ignore",
diff --git a/crates/channel2/Cargo.toml b/crates/channel2/Cargo.toml
index c292d4e8ddb..7af5aa1224d 100644
--- a/crates/channel2/Cargo.toml
+++ b/crates/channel2/Cargo.toml
@@ -18,7 +18,7 @@ db = { package = "db2", path = "../db2" }
gpui = { package = "gpui2", path = "../gpui2" }
util = { path = "../util" }
rpc = { package = "rpc2", path = "../rpc2" }
-text = { path = "../text" }
+text = { package = "text2", path = "../text2" }
language = { package = "language2", path = "../language2" }
settings = { package = "settings2", path = "../settings2" }
feature_flags = { package = "feature_flags2", path = "../feature_flags2" }
diff --git a/crates/collab_ui2/Cargo.toml b/crates/collab_ui2/Cargo.toml
index 4660880ecdc..c7c00d7696c 100644
--- a/crates/collab_ui2/Cargo.toml
+++ b/crates/collab_ui2/Cargo.toml
@@ -33,7 +33,7 @@ collections = { path = "../collections" }
# drag_and_drop = { path = "../drag_and_drop" }
editor = { package="editor2", path = "../editor2" }
#feedback = { path = "../feedback" }
-fuzzy = { path = "../fuzzy" }
+fuzzy = { package = "fuzzy2", path = "../fuzzy2" }
gpui = { package = "gpui2", path = "../gpui2" }
language = { package = "language2", path = "../language2" }
menu = { package = "menu2", path = "../menu2" }
diff --git a/crates/project_panel2/Cargo.toml b/crates/project_panel2/Cargo.toml
index bd6bc59a652..48abfbe1def 100644
--- a/crates/project_panel2/Cargo.toml
+++ b/crates/project_panel2/Cargo.toml
@@ -9,7 +9,6 @@ path = "src/project_panel.rs"
doctest = false
[dependencies]
-context_menu = { path = "../context_menu" }
collections = { path = "../collections" }
db = { path = "../db2", package = "db2" }
editor = { path = "../editor2", package = "editor2" }
diff --git a/crates/project_panel2/src/project_panel.rs b/crates/project_panel2/src/project_panel.rs
index 57ede0c961e..333d2c62429 100644
--- a/crates/project_panel2/src/project_panel.rs
+++ b/crates/project_panel2/src/project_panel.rs
@@ -247,7 +247,6 @@ impl ProjectPanel {
let mut old_dock_position = this.position(cx);
ProjectPanelSettings::register(cx);
cx.observe_global::<SettingsStore>(move |this, cx| {
- dbg!("OLA!");
let new_dock_position = this.position(cx);
if new_dock_position != old_dock_position {
old_dock_position = new_dock_position;
diff --git a/crates/zed2/Cargo.toml b/crates/zed2/Cargo.toml
index 6b9169e65a4..e7fa3a7e34c 100644
--- a/crates/zed2/Cargo.toml
+++ b/crates/zed2/Cargo.toml
@@ -39,7 +39,6 @@ file_finder = { package="file_finder2", path = "../file_finder2" }
# search = { path = "../search" }
fs = { package = "fs2", path = "../fs2" }
fsevent = { path = "../fsevent" }
-fuzzy = { path = "../fuzzy" }
go_to_line = { package = "go_to_line2", path = "../go_to_line2" }
gpui = { package = "gpui2", path = "../gpui2" }
install_cli = { package = "install_cli2", path = "../install_cli2" }