Luca UI for VS Code — 1.0.2 BetaOfficial language support for Luca UI 1.0.2 Beta. Zero runtime dependencies.
Install1. Install the
|
| Action | How |
|---|---|
| New starter file | Command Palette → Luca UI: New Luca File |
| Run the active file | Command Palette → Luca UI: Run Luca File, or the ▶ title-bar button when a .lucu editor is focused (the file is saved first) |
| See errors inline | Runs in the integrated terminal by default; switch lucaui.runInTerminal off to capture Error at line:column: output as squiggles + Problems entries |
| Read full CLI output | Output panel → channel Luca UI |
When diagnostics mode is on, each Error at line:column: message line becomes a VS Code diagnostic at that exact position. Clicking it jumps to the location; wordings come straight from the frozen diagnostics catalog.
Settings
| Setting | Default | Description |
|---|---|---|
lucaui.cliPath |
"luca-ui" |
Path to the CLI. Leave it if luca-ui is on your PATH; set an absolute path otherwise. |
lucaui.runInTerminal |
true |
Run in the integrated terminal (familiar raw output). When off, output goes to the Output > Luca UI channel and errors become editor diagnostics. |
Snippets
snippets/lucu.json provides prefixes for the common shapes (App root, nested components, state:/events:/layout:/style: blocks, and so on). Type the prefix and accept with Tab.
Troubleshooting
- “luca-ui not found” when running a file: the CLI is not on your
PATH. Setlucaui.cliPathto the absolute path of yourluca-uibinary (for example~/.luca-ui/bin/luca-ui). - No squiggles after a failed run: terminal mode is on. Set
lucaui.runInTerminaltofalse. - Everything looks plain text: make sure the file has the
.lucuextension and the extension is installed/enabled. Language id:lucu.
Development
cd editors/vscode
npm test # runs the unit tests (no dependencies to install)
npx @vscode/vsce package # builds luca-ui-1.0.2.vsix
Source map: extension.js (commands, CLI discovery, diagnostics parsing), syntaxes/lucu.tmLanguage.json (TextMate grammar), snippets/lucu.json (snippets), language-configuration.json (brackets, comments: -- and [[ … ]]).