Project Explorer View

Note:

Since 6.0.0, PHP Development Tools use common Project Explorer.

The Project Explorer view is an internal file system browser, allowing you to view all PHP projects and files in your Workspace. It shows the PHP element hierarchy of PHP projects in the Workbench and provides you with a PHP-specific view of your available resources. Within each project, source folders and referenced libraries are shown in the tree. In addition, this view shows all PHP code elements (classes, functions, variables, etc.). Clicking an element or declaration will cause the corresponding code to be displayed in the PHP editor.

See PHP Icons for a description of the icons displayed in the Project Explorer view.

php_explorer_pdt.png

Project Explorer View Toolbar Commands

IconNameDescription
php_explorer_arrows.pngBack/ForwardScrolls backwards and forwards through your recently navigated resources. These icons will only be active if the 'Go into the selected element' option is selected in the PHP Preferences Page (available from Window | Preferences | PHP).
php_explorer_up.pngUpNavigates up one level. This icon will only be active if the 'Go into the selected element' option is selected in the PHP Preferences Page (available from Window | Preferences | PHP).
collapse_all_icon.pngCollapse AllCollapses the list of elements
link_with_editor_icon.pngLink with EditorIf selected, elements will immediately be displayed in the editor when selected. If unselected, elements will be displayed in the editor when they are double-clicked.

Project Explorer View Menu Commands

The view's menu can be accessed through the view menu icon menu_icon.png.

IconNameDescription
php_explorer_pdt_menu_show.pngTop Level ElementsSelect to view your projects grouped by Project or Working Set.
Select Working SetIf Show Projects was selected (above), allows you to select a specific Working Set to view. See PHP Working Sets for more information.
Deselect Working SetDeselects the Working Set (if selected).
Edit Active Working SetAllows you to edit the selected Working Set. See PHP Working Sets for more information.
view_filters_icon.pngFilters..Opens the PHP Elements filters dialog which allows you to select which elements will be excluded from being displayed in the view. You select to exclude elements according to name or type.
Group by namespacesSorts elements by namespaces (for projects using PHP 5.3 only).
link_with_editor_icon.pngLink With EditorIf selected, elements will immediately be displayed in the editor when selected. If unselected, elements will be displayed in the editor when they are double-clicked.

Note:

The Project Explorer View is displayed by default as part of the PHP Perspective. To manually open the view, go to Window | Show View | Other | PHP Tools | Project Explorer.