User Guide > Reference > PHP Perspective Menus > File Menu

File Menu

The File Menu allows you to carry out various functions on active files and folders, as well as organizing current files and creating new items.

 

The options available from the File menu are:

Name

Shortcut

Description

New

Alt+Shift+N

Creates various items and types of files.

To see the list of new items that can be created through this menu, see the "New" subtopic.

Note: The options available in the New Menu for the current perspective can be configured through theCustomize Perspectives option in the Window Menu.

Open File...

 

Opens a previously created file in an editor view. If the file is stored in your workspace's active projects, the file will be displayed in PHP Explorer / Navigator views.

Close

Ctrl+W

Closes the active file's editor.

If there are unsaved changes in the file, you will be prompted to save the file before closing.

Close All

Ctrl+Shift+W

Closes all open editor windows.

If there are unsaved changes in the file, you will be prompted to save them before closing.

Save

Ctrl+S

Saves changes made to the active file.

Save As

 

Allows you to specify the file name/location when saving the active file.

Save All

Ctrl+Shift+S

Saves all open files.

Revert

 

Reverts the state of the active file back to its last saved version.

Move...

 

Moves the currently selected file to a different folder / project.

Marking the 'Update References' check box in the Move dialog will apply the refactoring feature which will automatically updates all references to the file in other files.

Click Preview to see all changes that will be made as a result of the move.

Click OK to implement your changes and move the file.

All references to the file will be automatically updated to reflect its new location.

For more on moving files using the refactoring feature, see "Moving Files".

Rename...

F2

Renames the currently selected file.

Marking the 'Update References' check box in the Move dialog will apply the refactoring feature which will automatically update all references to the file in other files.

Click Preview to see all changes that will be made as a result of the rename.

Click OK to implement your changes. All references to the file will be automatically updated to reflect the change.

For more on renaming files using the rename feature, see "Renaming a file".

Refresh

F5

Refreshes the Navigator views when external changes have been made.

Convert Line Delimeters To

 

Selects the preferred line ending style. Choices of Windows, Unix and Mac styles.

 

Print

Ctrl+P

Prints the active file.

 

Switch Workspace

 

Allows you to open an alternate workspace.

Using this feature will restart Zend Studiowith an alternate workspace displayed in Navigator / PHP Views.

This is useful if you want to open files and projects situated in a different location or if you want to save files and projects to a different location.

Restart

 

Restarts Zend Studio.

Import...

 

Imports various types of items into your workspace.

For a list of the different types of items you can import, divided into categories, see "Import".

Export...

 

Exports and creates different types of items from your workspace into various locations.

For a list of the different items you can export from your workspace, divided into categories, see "Export".

Properties

Alt+Enter

Displays a screen with information on the active file, including it's path, type, location, size and when it was last modified. From here the text file encoding type can also be configured, and whether the file is read-only, archive or derived can be set.

Exit

 

Shuts down Zend Studio. If there are unsaved changes in the file, you will be prompted to save them before exiting.

 

 

Related Links:

Menus
New

Import

Export

Edit

Source

Refactor

Navigate

Search

Project

Run

Window

Help

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.