Autocomplete
Class suggestions in HTML, JavaScript, TypeScript, JSX, TSX, Vue, Astro, PHP, and Twig files.
VS Code extension
Autocomplete, hover notes, snippets, and warnings for EmilyCSS classes in your templates.
npx emily-css build in your project firstWhat it does
The extension reads EmilyCSS tooling output, then uses it to suggest classes and flag likely mistakes while you work.
Class suggestions in HTML, JavaScript, TypeScript, JSX, TSX, Vue, Astro, PHP, and Twig files.
Short notes for known EmilyCSS utilities without leaving the editor.
Warnings for unknown EmilyCSS-looking classes, with strict mode available per workspace.
Small starting points for buttons, cards, and responsive layouts.
Config aware
Colours, spacing, radius, shadows, z-index, and font sizes from emily.config.json appear in autocomplete. When the config changes, reload the project data from VS Code.
{
"colours": {
"brand": "#DB2777",
"accent": "#F59E0B"
},
"spacing": {
"scale": {
"4": "1rem",
"6": "1.5rem"
}
}
}Autocomplete, hover notes, snippets, and unknown-class warnings, driven by your project’s generated data.
Colours, spacing, radius, shadows, z-index, and font sizes come from emily.config.json — not a generic class list.
No autocomplete or hover help for emily-state, emily-click, and friends. Use the EmilyJS docs for those.
Scope
The extension covers EmilyCSS classes. If you use EmilyJS attributes like emily-state or emily-click, the editor will not help with those yet.