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/30 21:15] – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee 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 | ||
| - | * '' | + | * '' |
| * Rooms with no exit (dead ends) | * Rooms with no exit (dead ends) | ||
| * Conditions with invalid operators | * Conditions with invalid operators | ||
| * Timers started but never stopped | * Timers started but never stopped | ||
| - | * A choice with neither '' | + | * A choice with neither '' |
| * A global timer declared without '' | * A global timer declared without '' | ||
| * A video link that does not point to one precise video (a channel page or a playlist) | * A video link that does not point to one precise video (a channel page or a playlist) | ||
| - | The label of a choice is written '' | + | The label of a choice is written '' |
| **Platform warnings.** With a Discord or Terminal profile, the report adds the incompatibilities of that platform, with their location: more than 25 options in a room, a label longer than 100 characters, or a media file Discord cannot reach publicly. | **Platform warnings.** With a Discord or Terminal profile, the report adds the incompatibilities of that platform, with their location: more than 25 options in a room, a label longer than 100 characters, or a media file Discord cannot reach publicly. | ||
| 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 include | + | HTML exports |
| - | **Find us on the [[https:// | + | ===== 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; | ||
| + | |||
| + | 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.1788117300.txt.gz · Dernière modification : de cyrilfiesta
