Add static Runnables (#8009)

Part of #7108

This PR includes just the static runnables part. We went with **not**
having a dedicated panel for runnables.
This is just a 1st PR out of N, as we want to start exploring the
dynamic runnables front. Still, all that work is going to happen once
this gets merged.

Release Notes:

- Added initial, static Runnables support to Zed. Such runnables are defined in
`runnables.json` file (accessible via `zed: open runnables` action) and
they can be spawned with `runnables: spawn` action.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: Pitor <pitor@zed.dev>
Co-authored-by: Beniamin <beniamin@zagan.be>
This commit is contained in:
Piotr Osiewicz
2024-02-19 18:41:43 +02:00
committed by GitHub
co-authored by Kirill Bulatov Pitor Beniamin
parent ca251babcd
commit f17d0b5729
30 changed files with 1394 additions and 275 deletions
Generated
+48
View File
@@ -6904,6 +6904,7 @@ dependencies = [
"regex",
"release_channel",
"rpc",
"runnable",
"schemars",
"serde",
"serde_derive",
@@ -7760,6 +7761,48 @@ dependencies = [
"zeroize",
]
[[package]]
name = "runnable"
version = "0.1.0"
dependencies = [
"anyhow",
"collections",
"futures 0.3.28",
"gpui",
"parking_lot 0.11.2",
"schemars",
"serde",
"serde_json",
"serde_json_lenient",
"settings",
"smol",
"util",
]
[[package]]
name = "runnables_ui"
version = "0.1.0"
dependencies = [
"anyhow",
"db",
"editor",
"fs",
"futures 0.3.28",
"fuzzy",
"gpui",
"log",
"picker",
"project",
"runnable",
"schemars",
"serde",
"serde_json",
"theme",
"ui",
"util",
"workspace",
]
[[package]]
name = "rusqlite"
version = "0.29.0"
@@ -9383,6 +9426,7 @@ dependencies = [
"ordered-float 2.10.0",
"procinfo",
"rand 0.8.5",
"runnable",
"schemars",
"serde",
"serde_derive",
@@ -9417,6 +9461,7 @@ dependencies = [
"procinfo",
"project",
"rand 0.8.5",
"runnable",
"search",
"serde",
"serde_derive",
@@ -11674,6 +11719,7 @@ dependencies = [
"parking_lot 0.11.2",
"postage",
"project",
"runnable",
"schemars",
"serde",
"serde_derive",
@@ -11934,6 +11980,8 @@ dependencies = [
"rope",
"rpc",
"rsa 0.4.0",
"runnable",
"runnables_ui",
"rust-embed",
"schemars",
"search",