This menu provides functions to load existing programs and to save recently created or modified programs and procedures. See section “File Types” for the supported file types. Here, HDevelop programs can be exported to C++, C, Visual Basic .NET, C#, or plain text and also be printed. The menu also provides access to the supplied example programs and allows you to read arbitrary images.
The file type of programs and external procedures is persistent: If you load a program in the older .dev format and save it again, it will not be converted to the newer .hdev format unless explicitly specified in the dialogs Save Program As... or Save Procedure As.... Additionally, it is possible to convert HDevelop programs and procedures between the old and the new format by calling hdevelop -convert from the command line.
For new programs, the default file format (.hdev) will be used. When you save a program for the first time, you can also select the older file format in the corresponding dialog. If you want to use the older format all the time, you can make it the default by modifying the preferences, see General Options.
| Menu Entry | Description | Shortcut |
| New Program | Initialize a new HDevelop program. | Ctrl+N |
| Open Program... | Load an existing HDevelop program. After you have loaded a program, the corresponding file name is added to the top of the menu Recent Programs. | Ctrl+O |
| Browse HDevelop Example Programs... | Load HDevelop example programs grouped by categories. To scan through several example programs quickly, select Keep dialog open. More info | Ctrl+E |
| Recent Programs | Load recently used HDevelop programs. The number menu entries can be customized in the preferences (see General Options ▹ General Options). | |
| Open Procedure For Editing... | Load an external procedure or library. If a library is selected, all included procedures are loaded for editing. Procedures opened through this dialog need not be part of the configured procedure locations. More info | |
| Close Procedure | Closes the procedure, currently visible in the program window. If a procedure was opened explicitly, it will be kept open even if its path is not configured in the preferences. Closing the procedure will uncheck this option. Thus, if the procedure is not reachable via the procedure path, it will be closed. | |
| Close All Procedures | Closes all procedures that are currently opened. If a procedure was opened explicitly, it will be kept open even if its path is not configured in the preferences. Closing all procedures will uncheck this option for all open procedures. All procedures that are not reachable via the procedure paths will be closed. | |
| Save | Saves changes of the current HDevelop program or the currently selected external procedure. Local procedures are saved within the HDevelop program. To save modified external procedures as well, select the menu entry Save All, or select the corresponding procedure in the program window and click Save again. A modified external procedure is marked with an asterisk (*) in the program window. | Ctrl+S |
| Save Program As... | Save the current HDevelop program to a new file. The file name of the program you save is added to the menu Recent Programs. | Ctrl+Shift+S |
| Save Procedure As... | Save the current procedure as... ...an external procedure (*.hdvp or *.dvp): This is one method to make an internal procedure external. If you do not change the name of the procedure, the internal procedure will conceal the external procedure. ...an HDevelop program (*.hdev or *.dev): An empty main procedure is added to the target file, and the procedure is added to the program as a local procedure. | Ctrl+Shift+P,S or Ctrl+Shift+P,Ctrl+Shift+S |
| Save All | If no name has been specified for the current program yet, the behavior is similar to that of Save Program As.... In addition, all modified external procedures marked with an asterisk (*) in the program window's combo box are saved. | Ctrl+Alt+S |
| Export Program... | Export program code to a programming language or as a text file. More info | Ctrl+Shift+O,X or Ctrl+Shift+O,Ctrl+Shift+X |
| ExportLibrary Project... | Export library/local procedures as a C++ or C# project. More info | |
| Read Image... | Add an image file to the current program. More info | Ctrl+R |
| Properties | Display various properties of the current program. More info | |
| Print the current program or selected procedures. More info | Ctrl+P | |
| Quit | Terminate HDevelop. See also: exit. | Ctrl+Q |
| Reload All | Reloads all changed files and resets the program. The PC is set back to the first executable line of the main procedure. All variables are reset. | |