A language server for Circom, built with Rust and TypeScript.
-
Clone the repository:
git clone https://github.com/vuvoth/ccls.git cd ccls -
Install Rust (if not already installed):
👉 https://www.rust-lang.org/tools/install -
Build or test the project:
cargo test # Run tests cargo build # Build the project
Optional, but recommended for snapshot testing.
-
Install
cargo-insta:curl -LsSf https://insta.rs/install.sh | sh -
Run the tests:
cargo test -
Review snapshot changes:
cargo insta review
📘 More info: Insta Quickstart
-
Install CCLS server and client:
cargo xtask install --server cargo xtask install --client npm audit fix --force # optional -
Run the extension in VSCode:
- Open the
cclsproject in VSCode. - Open the Run and Debug panel.
- Select
Run Extension (Debug Build)and start debugging.
- Open the
-
A new VSCode window will open.
Open a Circom file and try features like Go to Definition.