v0.2.0-beta — Solidity support in beta

The language server
for smart contracts.

ForgeLS speaks Language Server Protocol over stdio. Diagnostics, hover, completion, and goto-definition for Solidity — in any LSP-capable editor, with zero editor plugins.

terminal
$ cargo install --path crates/forgels

Works with your editor

VS CodeNeovimZedEmacsHelixSublime Text

Any LSP client. No editor-specific plugin required.

Everything an LSP should do

Configured in code, not clicks

One binary, one optional TOML file. Point your editor at forgels over stdio and you are done.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract Counter {
    uint256 public total;

    function add(uint256 amount) public {
        total += amount;
    }
}

Built in the open

ForgeLS is MIT/Apache-2.0 Rust, developed as a workspace of small focused crates. Solidity today, Noir and Cairo next.

Star on GitHub