title: "File menu" chapter: 3 source: "Doc/QMachineStudio UserManaul.pdf" images:
- menu-file.png
File menu
The basic menu for project and script file operations.

Items
Save
Saves the currently edited file. Shortcut Ctrl + S.
Save All & Build
Saves all open files and compiles the project. Because syntax errors in sequences and functions surface
at build time, pressing F6 or Ctrl + S frequently while editing is recommended.
New
Creates an empty project. A dialog asks for project name, save path, and template.
Open Project
Opens an existing project (.xproj). Recently opened projects appear as a submenu (up to 10).
Close Project
Closes the current project. If there are unsaved changes, you are prompted to save first.
Open Folder → Project
Opens the current project folder in Explorer — handy for inspecting sources, build artifacts, and config files directly.
Open Folder → Script
Opens the folder containing script (.xs) files.
Exit
Quits QMachineStudio. You are warned if any unsaved work exists.
Tips
- When a project is re-opened, the previous session's tabs and cursor positions are restored. Clean up
irrelevant tabs before
Close Projectto keep the workspace focused. Newproduces a minimal template — for real equipment projects, look at the sample-project template first.