**Language / Langue :** [[fr:editeur:astuces|FR]] | **EN** ====== Graphical editor - Tips ====== ===== Keyboard shortcuts ===== ^ Shortcut ^ Action ^ | ''Ctrl+N'' | New scenario | | ''Ctrl+O'' | Open a file | | ''Ctrl+S'' | Save | | ''Ctrl+Shift+S'' | Save as… | | ''Ctrl+Z'' | Undo | | ''Ctrl+Y'' / ''Ctrl+Shift+Z'' | Redo | | ''Ctrl+K'' or ''Ctrl+P'' | Quick search | | ''Ctrl+M'' | Text formatting window | | ''Ctrl+Enter'' | Test the scenario | | ''Ctrl+C'' | Copy the selected room | | ''Ctrl+V'' | Paste the copied room | | ''+'' / ''-'' | Zoom in / out | | ''0'' | Fit the view | | ''Del'' / ''Backspace'' | Delete the selected room | | ''Esc'' | Close the active floating panel | ''Ctrl+K'' and ''Ctrl+M'' also work while you are typing in a text field, which is how they are used most of the time. ===== Productivity tips ===== **Create a room**: double-click the graph background, or use the ''+ Room'' button in the toolbar. **Find a room**: press ''Ctrl+K'' and type the first letters of its identifier or title. **Copy a room**: ''Ctrl+C'' on a selected room, then ''Ctrl+V'' to paste a copy, events, objects and choices included. **Rename a room**: right-click the room in the graph, then Rename. **Jump to the destination of a choice**: in the inspector, Choices section, click the link icon next to the destination to open the target room. **Import YAML**: if you already wrote a ''.yaml'' by hand, import it through ''File → Import YAML'' to edit it visually. **Simplify the interface**: when the inspector feels crowded, change profile with the selector at the top. **Simplified** only shows objects and choices; **Essential** hides the advanced fields. ===== Troubleshooting ===== * **A room does not show in the graph**: check that its identifier holds no special character * **The linter reports an unknown variable**: check the spelling in the Globals panel, Variables section * **A timer never fires**: check that the ''timer_global:'' action is really called from a reachable event or choice * **A HUD does not appear**: check that the event defining ''hud:'' actually runs, with an ''if:'' condition that does not block it