Restructure and start working on CLI

This commit is contained in:
Fabian Stamm
2025-05-26 16:43:40 +02:00
parent 883b6da7eb
commit b61518de00
38 changed files with 134 additions and 8 deletions

2
zed/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
target/
JsonRPC/

10
zed/Cargo.toml Normal file
View File

@ -0,0 +1,10 @@
[package]
name = "jrpc-syntax"
version = "0.0.1"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
zed_extension_api = "0.1.0"

7
zed/extension.toml Normal file
View File

@ -0,0 +1,7 @@
id = "jrpc-syntax"
name = "JRPC Syntax"
version = "0.0.1"
schema_version = 1
authors = ["Fabian Stamm <dev@fabianstamm.de>"]
description = "Adds JRPC syntax highlighting to Zed"
repository = "https://github.com/"

17
zed/src/lib.rs Normal file
View File

@ -0,0 +1,17 @@
use zed_extension_api as zed;
struct JRPCSyntaxExtension {
// ... state
}
impl zed::Extension for JRPCSyntaxExtension {
fn new() -> Self
where
Self: Sized,
{
todo!()
}
// ...
}
zed::register_extension!(JRPCSyntaxExtension);