solidity-analyzer

Solidity analyzer is a LSP server for solidity projects with focus on foundry.
34.8K
OP

Contribution

solidity-analyzer is deeply integrated into foundry which is increasingly becoming more popular and adoption among devs because of its ability to allow writing tests in solidity itself and because it is really fast in running tests and compiling too. But the tooling around it is not yet very mature. An LSP server that works with foundry projects will provide devs with important features like:1. Diagnostics: compiler errors, warnings, informationals, etc.2. Formatting: with `forge fmt`3. Outline: the birds eye view of the file including contract names, functions, state variables,e tc.4. Code navigation: jump to definitions, implemetations, references, etc.5. Inlay hints, autocompletes6. And many more LSP featuresOut of the mentioned features, first 3 are already implemented.

Impact

Optimism VM is also an EVM implementation and thus any developments in solidity ecosystem has its impact on anything that uses EVM too. Many of the projects already deployed on optimism were developed with solidity and foundry. Thus, any contributions to the DX of solidity and foundry impacts optimism too.A note on impact metrics:This is a new project and in development. I have been using it for diagnostics on my own personal and work projects. Anyone wanting to use it needs to clone and build the server locally with `cargo install --git` and hence I am listing github clones and cloners as metrics as a proxy to amount of people that might have tried it. I am not actively promoting it, just building it.

Hang Tight! We're adding description for this grantee
  • More Information
  • Grant Type:
    RetroPGF
  • Is Multichain?
  • Project Online: