Installation
Install the forgels binary with Cargo
Requires Rust stable with Cargo installed.
Install
cargo install --path crates/forgelsRun from source without installing:
cargo run -p forgelsConnect your editor
The server speaks JSON-RPC over stdio. Point any generic LSP client at the forgels binary:
- Transport:
stdio - Language id:
solidityfor.solfiles - Command:
forgels
No editor-specific plugin is needed. If your editor asks for a language id or file pattern, use solidity and *.sol.
Verify
- Open a folder containing a
.solfile. - Open the file in your editor.
- Break something on purpose, for example delete a semicolon.
- A diagnostic should appear within ~200 ms (the default debounce delay).
If nothing happens, run forgels in a terminal. It logs startup to stderr, and config problems print as forgels: ... warnings there.
Next steps
- Quickstart: confirm hover, completion, and goto-definition work
- Configuration: optional
forgels.tomlsettings