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.

Add new panels into zed2

Kirill Bulatovc1f8929e43d1
diff --git a/Cargo.lock b/Cargo.lock
index 7237ab6905d..3226037d51a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -12198,6 +12198,7 @@ dependencies = [
"journal2",
"language2",
"language_selector2",
+ "language_tools2",
"lazy_static",
"libc",
"log",
diff --git a/crates/zed2/Cargo.toml b/crates/zed2/Cargo.toml
index 6646eb5ffc3..8cc33334846 100644
--- a/crates/zed2/Cargo.toml
+++ b/crates/zed2/Cargo.toml
@@ -47,7 +47,7 @@ language = { package = "language2", path = "../language2" }
language_selector = { package = "language_selector2", path = "../language_selector2" }
lsp = { package = "lsp2", path = "../lsp2" }
menu = { package = "menu2", path = "../menu2" }
-# language_tools = { path = "../language_tools" }
+language_tools = { package = "language_tools2", path = "../language_tools2" }
node_runtime = { path = "../node_runtime" }
notifications = { package = "notifications2", path = "../notifications2" }
assistant = { package = "assistant2", path = "../assistant2" }
diff --git a/crates/zed2/src/main.rs b/crates/zed2/src/main.rs
index ca8cd7a2a2a..f4d9aa2510f 100644
--- a/crates/zed2/src/main.rs
+++ b/crates/zed2/src/main.rs
@@ -217,8 +217,7 @@ fn main() {
// journal2::init(app_state.clone(), cx);
language_selector::init(cx);
theme_selector::init(cx);
- // activity_indicator::init(cx);
- // language_tools::init(cx);
+ language_tools::init(cx);
call::init(app_state.client.clone(), app_state.user_store.clone(), cx);
notifications::init(app_state.client.clone(), app_state.user_store.clone(), cx);
collab_ui::init(&app_state, cx);