en:editeur:linter-export
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| en:editeur:linter-export [2026/08/31 20:43] – Wiki : fins de pages homogènes, liens Discord retirés cyrilfiesta | en:editeur:linter-export [2026/10/18 23:44] (Version actuelle) – Relecture 4.17 : clarifications, exemples et typographie cyrilfiesta | ||
|---|---|---|---|
| Ligne 5: | Ligne 5: | ||
| ===== Built-in linter ===== | ===== Built-in linter ===== | ||
| - | The linter analyses your scenario | + | The linter analyses your scenario and reports errors and warnings. |
| - | **Running it:** the **Linter** button | + | **Running it:** the **Linter** button in the toolbar. |
| **Kinds of messages:** | **Kinds of messages:** | ||
| - | * 🔴 **Error** - a blocking problem (missing variable, wrong syntax, dead end) | + | * **Error** - a blocking problem (missing variable, wrong syntax, dead end) |
| - | * 🟡 **Warning** - a possible problem (unreachable room, unused variable) | + | * **Warning** - a possible problem (unreachable room, unused variable) |
| - | * 🔵 **Info** - a suggested improvement | + | * **Info** - a suggested improvement |
| - | **Errors detected, among others:** | + | **Checks include:** |
| * Variables used but never declared | * Variables used but never declared | ||
| * '' | * '' | ||
| Ligne 52: | Ligne 52: | ||
| **PDF gamebook export** generates a PDF with numbered chapters, cross-references, | **PDF gamebook export** generates a PDF with numbered chapters, cross-references, | ||
| - | Both exports | + | HTML exports |
| + | |||
| + | ===== Diagnostics and author tests (4.17) ===== | ||
| + | |||
| + | Diagnostics include file, line and column when the source allows it, including YAML fragments and ZIP archives. Clicking opens the relevant field; similar names may be suggested. Unknown destinations in '' | ||
| + | |||
| + | **Globals > Health** gathers diagnostics. Media checks run on request. During **Test**, a panel displays runtime errors. | ||
| + | |||
| + | **Test data** opens a separate window showing current variables, text, lists and collections. Click a structure to browse it and use the path to move up. Data refreshes automatically while the window is visible; **Refresh** reads it immediately. Inspection changes nothing, consumes no turn and keeps the game dimensions. | ||
| + | |||
| + | This tool belongs to Web/Desktop editor tests, and is absent from normal games and HTML exports. If the browser blocks the window, allow it and click again. Close it with its close button or Escape inside that window. | ||
en/editeur/linter-export.1788201797.txt.gz · Dernière modification : de cyrilfiesta
