Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Zed

Add the following to ~/.config/zed/settings.json.

For the full settings schema, see Setup Overview.

~/.config/zed/settings.json
{
  "lsp": {
    "solidity": {
      "binary": {
        "path": "solidity-language-server",
        "arguments": ["--stdio"]
      },
      "initialization_options": {
        "inlayHints": {
          "parameters": true,
          "gasEstimates": true
        },
        "lint": {
          "enabled": true,
          "severity": [],
          "only": [],
          "exclude": []
        },
        "fileOperations": {
          "templateOnCreate": true,
          "updateImportsOnRename": true,
          "updateImportsOnDelete": true
        },
        "projectIndex": {
          "fullProjectScan": true,
          "cacheMode": "v2",
          "incrementalEditReindex": false
        }
      }
    }
  }
}

Lint options (severity, rule IDs, only, exclude) are documented in Setup Overview → Lint values.