From a64296938d48cc387c3c022fc7afa22f3522307d Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 29 Mar 2023 09:04:13 +0200 Subject: [PATCH] Delete unused code --- crates/language/src/language.rs | 6 ------ crates/pando/Cargo.toml | 21 --------------------- crates/pando/src/file_format.rs | 0 crates/pando/src/pando.rs | 15 --------------- 4 files changed, 42 deletions(-) delete mode 100644 crates/pando/Cargo.toml delete mode 100644 crates/pando/src/file_format.rs delete mode 100644 crates/pando/src/pando.rs diff --git a/crates/language/src/language.rs b/crates/language/src/language.rs index 69053e9fc4..195a285d74 100644 --- a/crates/language/src/language.rs +++ b/crates/language/src/language.rs @@ -78,12 +78,6 @@ pub trait ToLspPosition { #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct LanguageServerName(pub Arc); -#[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize)] -pub enum ServerExecutionKind { - Launch, - Node, -} - #[derive(Debug, Clone, Deserialize)] pub struct LanguageServerBinary { pub path: PathBuf, diff --git a/crates/pando/Cargo.toml b/crates/pando/Cargo.toml deleted file mode 100644 index 8521c4fd81..0000000000 --- a/crates/pando/Cargo.toml +++ /dev/null @@ -1,21 +0,0 @@ -[package] -name = "pando" -version = "0.1.0" -edition = "2021" -publish = false - -[lib] -path = "src/pando.rs" - -[features] -test-support = [] - -[dependencies] -anyhow = "1.0.38" -client = { path = "../client" } -gpui = { path = "../gpui" } -settings = { path = "../settings" } -theme = { path = "../theme" } -workspace = { path = "../workspace" } -sqlez = { path = "../sqlez" } -sqlez_macros = { path = "../sqlez_macros" } \ No newline at end of file diff --git a/crates/pando/src/file_format.rs b/crates/pando/src/file_format.rs deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/crates/pando/src/pando.rs b/crates/pando/src/pando.rs deleted file mode 100644 index e75f843720..0000000000 --- a/crates/pando/src/pando.rs +++ /dev/null @@ -1,15 +0,0 @@ -//! ## Goals -//! - Opinionated Subset of Obsidian. Only the things that cant be done other ways in zed -//! - Checked in .zp file is an sqlite db containing graph metadata -//! - All nodes are file urls -//! - Markdown links auto add soft linked nodes to the db -//! - Links create positioning data regardless of if theres a file -//! - Lock links to make structure that doesn't rotate or spread -//! - Drag from file finder to pando item to add it in -//! - For linked files, zoom out to see closest linking pando file - -//! ## Plan -//! - [ ] Make item backed by .zp sqlite file with camera position by user account -//! - [ ] Render grid of dots and allow scrolling around the grid -//! - [ ] Add scale property to layer canvas and manipulate it with pinch zooming -//! - [ ] Allow dropping files onto .zp pane. Their relative path is recorded into the file along with