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/31 20:43] – Wiki : fins de pages homogènes, liens Discord retirés 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
   * ''trigger_event:'' identifiers that do not exist   * ''trigger_event:'' identifiers that do not exist
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]]. 
 + 
 +===== 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.1788201797.txt.gz · Dernière modification : de cyrilfiesta