Navigation: Amos Graphics Reference Guide > Main Window > Main menu > Tools menu > Export to > Export to Stan > CmdStan IDE
Save (menu item in the Stan IDE)
Save the text that is displayed on the currently selected tab (either the Data tab or the Program tab.)