Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Enable test-support on editor in tests
Nathan Sobo986eafd84e59
diff --git a/crates/activity_indicator/Cargo.toml b/crates/activity_indicator/Cargo.tomlindex 917383234a3..43d16e6b9bd 100644--- a/crates/activity_indicator/Cargo.toml+++ b/crates/activity_indicator/Cargo.toml@@ -21,3 +21,6 @@ workspace = { path = "../workspace" }futures.workspace = truesmallvec.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/copilot_button/Cargo.toml b/crates/copilot_button/Cargo.tomlindex ad3febd68c6..50fbaa64ee4 100644--- a/crates/copilot_button/Cargo.toml+++ b/crates/copilot_button/Cargo.toml@@ -23,3 +23,6 @@ workspace = { path = "../workspace" }anyhow.workspace = truesmol.workspace = truefutures.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/feedback/Cargo.toml b/crates/feedback/Cargo.tomlindex e74e14ff4ca..ddd6ab0009d 100644--- a/crates/feedback/Cargo.toml+++ b/crates/feedback/Cargo.toml@@ -35,3 +35,6 @@ serde_derive.workspace = truesysinfo = "0.27.1"tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }urlencoding = "2.1.2"++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/file_finder/Cargo.toml b/crates/file_finder/Cargo.tomlindex cae3fa25caf..6f6be7427bd 100644--- a/crates/file_finder/Cargo.toml+++ b/crates/file_finder/Cargo.toml@@ -23,6 +23,7 @@ workspace = { path = "../workspace" }postage.workspace = true[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }gpui = { path = "../gpui", features = ["test-support"] }language = { path = "../language", features = ["test-support"] }workspace = { path = "../workspace", features = ["test-support"] }diff --git a/crates/go_to_line/Cargo.toml b/crates/go_to_line/Cargo.tomlindex 441f7ef7e40..b32b4aaf13f 100644--- a/crates/go_to_line/Cargo.toml+++ b/crates/go_to_line/Cargo.toml@@ -18,3 +18,6 @@ workspace = { path = "../workspace" }postage.workspace = truetheme = { path = "../theme" }util = { path = "../util" }++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/journal/Cargo.toml b/crates/journal/Cargo.tomlindex c1d9bde89e1..b7cbc62559f 100644--- a/crates/journal/Cargo.toml+++ b/crates/journal/Cargo.toml@@ -22,3 +22,6 @@ serde.workspace = trueschemars.workspace = truelog.workspace = trueshellexpand = "2.1.0"++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/language_selector/Cargo.toml b/crates/language_selector/Cargo.tomlindex e7b3d8d4bed..f6e213f25fc 100644--- a/crates/language_selector/Cargo.toml+++ b/crates/language_selector/Cargo.toml@@ -20,3 +20,6 @@ settings = { path = "../settings" }util = { path = "../util" }workspace = { path = "../workspace" }anyhow.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/lsp_log/Cargo.toml b/crates/lsp_log/Cargo.tomlindex 8741f0a4cff..6f47057b442 100644--- a/crates/lsp_log/Cargo.toml+++ b/crates/lsp_log/Cargo.toml@@ -24,6 +24,7 @@ serde.workspace = trueanyhow.workspace = true[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }gpui = { path = "../gpui", features = ["test-support"] }util = { path = "../util", features = ["test-support"] }unindent.workspace = truediff --git a/crates/outline/Cargo.toml b/crates/outline/Cargo.tomlindex 95272b063e7..f4e2b849fa6 100644--- a/crates/outline/Cargo.toml+++ b/crates/outline/Cargo.toml@@ -22,3 +22,6 @@ workspace = { path = "../workspace" }ordered-float.workspace = truepostage.workspace = truesmol.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/picker/Cargo.toml b/crates/picker/Cargo.tomlindex b723cd788cf..54e4b15ad54 100644--- a/crates/picker/Cargo.toml+++ b/crates/picker/Cargo.toml@@ -20,6 +20,7 @@ workspace = { path = "../workspace" }parking_lot.workspace = true[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }gpui = { path = "../gpui", features = ["test-support"] }serde_json.workspace = trueworkspace = { path = "../workspace", features = ["test-support"] }diff --git a/crates/project_symbols/Cargo.toml b/crates/project_symbols/Cargo.tomlindex 7e23e42b263..85939634adb 100644--- a/crates/project_symbols/Cargo.toml+++ b/crates/project_symbols/Cargo.toml@@ -27,6 +27,7 @@ smol.workspace = true[dev-dependencies]futures.workspace = true+editor = { path = "../editor", features = ["test-support"] }settings = { path = "../settings", features = ["test-support"] }gpui = { path = "../gpui", features = ["test-support"] }language = { path = "../language", features = ["test-support"] }diff --git a/crates/recent_projects/Cargo.toml b/crates/recent_projects/Cargo.tomlindex d9e7546f344..14f8853c9c0 100644--- a/crates/recent_projects/Cargo.toml+++ b/crates/recent_projects/Cargo.toml@@ -24,3 +24,6 @@ workspace = { path = "../workspace" }ordered-float.workspace = truepostage.workspace = truesmol.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/terminal_view/Cargo.toml b/crates/terminal_view/Cargo.tomlindex 3a253178702..a42d6c550ee 100644--- a/crates/terminal_view/Cargo.toml+++ b/crates/terminal_view/Cargo.toml@@ -39,6 +39,7 @@ serde_derive.workspace = true[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }gpui = { path = "../gpui", features = ["test-support"] }client = { path = "../client", features = ["test-support"]}project = { path = "../project", features = ["test-support"]}diff --git a/crates/theme_selector/Cargo.toml b/crates/theme_selector/Cargo.tomlindex ac3a85d89a4..377f64aad6f 100644--- a/crates/theme_selector/Cargo.toml+++ b/crates/theme_selector/Cargo.toml@@ -23,3 +23,6 @@ log.workspace = trueparking_lot.workspace = truepostage.workspace = truesmol.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }diff --git a/crates/welcome/Cargo.toml b/crates/welcome/Cargo.tomlindex 65f5151584b..ea01f822a7b 100644--- a/crates/welcome/Cargo.toml+++ b/crates/welcome/Cargo.toml@@ -30,3 +30,6 @@ anyhow.workspace = truelog.workspace = trueschemars.workspace = trueserde.workspace = true++[dev-dependencies]+editor = { path = "../editor", features = ["test-support"] }