Anjuta IDE Manual
<<< Previous | File Operations | Next >>>

# Opening and Saving Files

1. Opening a file: To open an existing file, choose File->Open from the menubar, click on the Open button on the toolbar, or press Ctrl-O. This will display the Open File dialog.

   Figure 1. Open File dialog

   Select or enter the file you want to open, then click OK. If you change your mind, click Cancel to dismiss the dialog without opening the file.

2. Saving a file: To save a file, choose File->Save from the menubar, click on the Save button on the toolbar, or press Ctrl-S. This will save the file. If the file is new, a Save As dialog will appear. Enter a filename and click OK to save the new file with the name supplied.

3. Saving a file with a different name: You can explicitly save a file with a new filename. To do this, choose File->Save As from the menubar. A Save As dialog will appear prompting you to enter the new filename. Enter the name and click OK.

   | Note
   | When you use Save As with an existing file, the original is not deleted. It is left unchanged since the last save. If a file with the new filename already exists, a confirmation dialog will appear, to ensure that you want to overwrite it. Clicking Yes will overwrite the file with the file you are saving.

4. Closing a file: To close a file, choose File->Close from the menubar, or click on the Close button on the toolbar. This will close the current file. If the file is not saved, or is a new file, then `Anjuta` will prompt you to save the file before closing it.

| Remember
| If you have enabled auto-save, it will not auto-save any new files. You must first save them manually. The same applies to the Save All option: it will not save new files, if you haven't saved them first manually. You must save a file manually before auto-save or Save All will work with it.

<<< Previous | Home | Next >>>
File Operations | Up | Editing Files