VS Code Extensions
V

vscode-zinc

by warrick

Syntax highlighting, diagnostics, and basic tooling for Zinc (.zn).

Downloads

3

Rating

— (0)

Version

0.1.1

Last updated

Apr 29, 2026

VS Code support for the Zinc language (.zn) used in this repository.

Features

  • Syntax highlighting (TextMate grammar)
  • Bracket/comment configuration (# line comments, ### ... ### block comments)
  • Simple semantic highlighting for identifiers bound with is
  • Basic diagnostics by running znc (parse/type errors)
  • Commands:
    • Zinc: Lint Current File
    • Zinc: Build Current File
    • Zinc: Run Current File

Settings

  • zinc.compilerPath (default: build/znc)
  • zinc.enableDiagnostics (default: true)
  • zinc.diagnosticsOnSave (default: true)

Using with this repo

  1. Build the compiler: make rebuild
  2. In VS Code, open any .zn file (for example examples/demo.zn)
  3. Run Zinc: Lint Current File (or save the file) to see diagnostics

Related extensions