Navigation: Amos Graphics Reference Guide > Main Window > Main menu > Tools menu > Export to > Export to Stan > CmdStan IDE
Save As (menu item in the Stan IDE)
Save the text that is displayed on the currently selected tab, using a file name that you will be asked to specify.