IntelliSense

IntelliSense JSON is a lightweight utility index generated at build time. It powers autocomplete, hover docs, and diagnostics in the EmilyUI VS Code extension.

What it is for

The IntelliSense JSON file is a compact index of every utility class your config generates. It is the file the EmilyUI VS Code extension reads to provide autocomplete suggestions, hover docs, and unknown-class warnings in your templates.

It mirrors the manifest but excludes full CSS declaration maps to keep the file small. Regenerate it after any config change by running npx emily-css build or npx emily-css manifest.

data/generated/emily.intellisense.json

Enable and output path

{
  "intellisense": {
    "enabled": true,
    "output": "data/generated/emily.intellisense.json"
  }
}

Shape (schema v2)

Each entry includes per-class metadata so tooling can surface the right information without reading the generated CSS directly.

{
  "schemaVersion": "2",
  "generatedAt": "2026-05-15T...",
  "package": "emily-css",
  "utilities": [
    {
      "class": "text-brand-80",
      "category": "colour",
      "property": "color",
      "value": "var(--color-brand-80)",
      "token": "--color-brand-80",
      "layer": "utilities",
      "responsive": true,
      "states": ["hover", "focus-visible", "active", "disabled"],
      "pseudo": []
    }
  ]
}

Next step

Next: Doctor command for project class checks.