Project Explorer view

The Project Explorer view displays a hierarchical view of all projects and their resources available in the current workspace.

Project Explorer view
The hierarchy includes the following levels (from top to bottom):
  • Project names, each followed by the build configuration to be used.

    On the image, the “Debug” build configuration will be applied to the project.

  • Standard project folders (Includes, src, other).

    Learn more about standard project folders in Project folders and files.

  • Nested folders, source files, and resources.
    Note: Folders and files with crossed icons and faded font are excluded from the build.
  • #include directives and definitions in code (see nested elements under main.c on the image)
The toolbar of the Project Explorer view includes the following buttons (from left to right):
(Collapse All) Click to collapse all nodes in the Project Explorer.
(Link with Editor) Click for the file currently opened in the editor to be highlighted in the Project Explorer.
(Select and deselect filters to apply to the content in the tree) Click to open the Filters and Customization dialog box.
(View Menu) Click to open the standard menu customizing the view.
(Minimize) Click to minimize the Project Explorer view. The Project Explorer icon appears at the left border of the main application window, next to the Restore icon.
(Maximize) Click to maximize the Project Explorer view. All other views are minimized and their icons appear at the right border of the main application window, each next to the dedicated Restore icon.
You can perform the following actions in the Project Explorer view:
  • To expand or collapse a node in the hierarchy, double-click it.
  • To collapse all nodes in the Project Explorer, click the Collapse All toolbar button located in the view.
  • To open a source file in the editor, double-click it in the Project Explorer, or drag and drop the file from the Project Explorer to the editor area.
  • To close a project, select it in the Project Explorer and click Project > Close Project on the menu.
  • To reopen a closed project, click the project name in the Project Explorer and use the Project > Open Project menu command.
  • To permanently delete a project from the Project Explorer and workspace, and physically from the disc, use the Edit > Delete menu command.
To configure the Project Explorer to hide or display particular elements (closed projects, files types, definitions, and other):
  1. Click the View Menu toolbar button and click Filters and Customization on the context menu.


    Customize Project Explorer

  2. In the Filters and Customization dialog box, go to the Pre-set filters tab. Select the options to be hidden.


    Customize Project Explorer

  3. Click OK.