Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>ZLintNew to Visual Studio Code? Get it now.
ZLint

ZLint

Don Isaac

|
13 installs
| (0) | Free
A linter for the Zig programming language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ZLint VSCode Extension

A Visual Studio Code extension that integrates the ZLint linter for Zig code.

✨ Features

  • 🔍 Real-time Linting: Automatically detects and highlights issues in your Zig code
  • ⚡️ Fast Performance: Quick analysis without slowing down your editor
  • 💡 Detailed Diagnostics: Clear error messages with explanations and suggestions
  • 🛠️ Configurable: Customize linting behavior through VSCode settings

📦 Installation

  1. Install the ZLint binary:

    curl -fsSL https://raw.githubusercontent.com/DonIsaac/zlint/refs/heads/main/tasks/install.sh | bash
    
  2. Install the extension from the VSCode marketplace or build it locally:

    bun install
    

⚙️ Configuration

The extension can be configured through VSCode settings:

{
  "zig.zlint": {
    "enabled": true,
    "path": "/path/to/zlint" // Optional: specify custom path to zlint binary
  }
}

Settings

  • zig.zlint.enabled: Enable/disable the extension (default: true)
  • zig.zlint.path: Custom path to the zlint binary (optional)

🔨 Building from Source

  1. Clone the repository
  2. Install dependencies:
    bun install
    
  3. Build the extension:
    bun run index.ts
    

📝 License

This extension is licensed under the same terms as the ZLint project.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft