Outils pour utilisateurs

Outils du site


en:editeur:linter-export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine 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 cyrilfiestaen: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 as you work and reports errors and warnings.+The linter analyses your scenario and reports errors and warnings.
  
-**Running it:** the **Linter** button (🔍 icon) in the toolbar, or ''Ctrl+Shift+L''.+**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
-  * ''declencher_event:'' identifiers that do not exist+  * ''trigger_event:'' identifiers that do not exist
   * 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 ''bouton:'' nor ''commande:'': no button appears and the player cannot type anything+  * A choice with neither ''button:'' nor ''command:'': no button appears and the player cannot type anything
   * A global timer declared without ''id:'', which the engine would ignore   * A global timer declared without ''id:'', which the engine would ignore
   * 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 ''bouton:''. Written ''texte:'', the choice keeps its destination but shows no button: the room looks like a dead end. The linter reports it and names the expected key.+The label of a choice is written ''button:''. Written ''text:'', the choice keeps its destination but shows no button: the room looks like a dead end. The linter reports it and names the expected key.
  
 **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, a tracking sheet and editable fields, playable on paper like a choose-your-own-adventure book. **PDF gamebook export** generates a PDF with numbered chapters, cross-references, a tracking sheet and editable fields, playable on paper like a choose-your-own-adventure book.
  
-Both exports include every asset, sounds and images, referenced by URL in the scenario. A hosted video stays online instead: see [[en:yaml:medias|Sounds, images and videos]].+HTML exports bundle media that could be retrieved; the report lists missing, external or dynamic files. PDFs include available images and describe sounds and videos without playing them. See [[en:yaml:export|HTML and PDF exports]].
  
-**Find us on the [[https://discord.gg/Z63DtVV|Make&Play Discord]]**+===== 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 ''do:'' are reported. Indices that depend on previous actions remain checked during play. 
 + 
 +**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.1788117300.txt.gz · Dernière modification : de cyrilfiesta