Back to the catalog

solidity-lsp

Solidity language server plugin for Claude Code — go-to-definition, hover, diagnostics, and autocomplete for .sol files

Open source Repository Open in the app JSON README (API)

About

Solidity language server plugin for Claude Code — go-to-definition, hover, diagnostics, and autocomplete for .sol files

Details

Kind
Plugins
Topic
Developer tools
Publisher
alexlexer
Origin
marketplace
Category
ferramentas
Last push
2026-04-18T12:02:38Z
Repository state
ativo
Added
2026-08-30 01:48:58
Updated
2026-08-30 01:48:58
Origin id
alexlexer/solidity-lsp/solidity-lsp

README

# solidity-lsp

Solidity language server for Claude Code, providing code intelligence, diagnostics, and analysis for smart contract development.

## Supported Extensions
`.sol`

## Installation

Install the language server globally via npm:

```bash
npm install -g @nomicfoundation/solidity-language-server
```

Ensure your npm global bin directory is on your PATH:
- **macOS/Linux**: `export PATH="$(npm bin -g):$PATH"`
- **Windows**: `%APPDATA%\npm` is usually added automatically

## Requirements
- Node.js 16.0 or later
- npm 7.0 or later

## Features
- Real-time diagnostics and error highlighting
- Go-to-definition for contracts, functions, and state variables
- Hover documentation
- Code completion (triggered by `.`, `/`, `"`, `'`)
- Find all references across `.sol` files
- Rename symbol
- Document formatting
- Semantic syntax highlighting
- Signature help for function calls

## More Information
- [Nomic Foundation Hardhat VSCode](https://github.com/NomicFoundation/hardhat-vscode)
- [Solidity Documentation](https://docs.soliditylang.org/)
- [Foundry Book](https://book.getfoundry.sh/)

More