> For the complete documentation index, see [llms.txt](/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# File Tree (Project Explorer)

Browse, open, and manage project files with Warp's native file tree and context menu actions.

The File Tree is Warp’s built-in project explorer for browsing, opening, and managing files alongside your terminal. It automatically reflects your project structure and supports context menu actions like attaching files as agent context, copying paths, and creating new files.

![Warp's native file tree showing the project's file and folder structure in the left panel.](/_astro/filetree-main.B0QR6kNZ_Qq1Ws.webp?dpl=dpl_9gV68dirrqKrRdyth6yAi1FwZf77)

Warp includes a **native file tree** that makes it easy to explore and manage project files. The file tree is available in any directory, and it automatically reflects your project structure as files are added, removed, or changed.

Note

The file tree also works over SSH on macOS and Linux when Warp’s [SSH extension](/terminal/warpify/ssh/#installing-the-ssh-extension) is installed on the remote host.

### Opening the file tree

You can open the file tree from the tools panel on the left hand side:

-   **Tools panel**: Click the Tools sidebar button, then open the File Tree tab (first tab in the panel).
-   Press `CMD + \` to open the left panel, then assign your own shortcut for File Tree (and Warp Drive) in **Settings** > **Keyboard shortcuts**.

![Opening the File Tree from the Tools panel sidebar in Warp.](/_astro/file-tree-project-explorer-tools-panel.BLIt4EpD_Z6Lbzs.webp?dpl=dpl_9gV68dirrqKrRdyth6yAi1FwZf77)

Note

Warp supports icons for common file types. If a file type is missing an icon, please [file a GitHub issue](https://github.com/warpdotdev/Warp/issues) so we can review and add support.

### Browsing and opening files

Clicking on a file opens it directly in Warp’s [**native Code Editor**](/code/code-editor/), where you can view and edit code in a separate pane or tab.

## File and folder actions

Right-clicking any **file** opens a context menu with several useful options:

-   **Open in new pane**: Open the file in a side-by-side pane.
-   **Open in new tab**: Open the file in a new tab.
-   **Attach as context**: Insert the file into an agent prompt so the Agent can analyze or reference it.
-   **Copy path**: Copy the absolute file path.
-   **Copy relative path**: Copy the path relative to your current working directory.

![Right-click context menu on a folder in the file tree.](/_astro/file-tree-context-menu.DWzoue-q_Z2ud9BP.webp?dpl=dpl_9gV68dirrqKrRdyth6yAi1FwZf77)

Right-click context menu on a folder in the file tree.

Right-clicking any **folder** opens a context menu with the following options:

-   **Create new file**: Add a new file directly from the tree.
    
    ![Creating a new file directly from a folder's right-click context menu in the file tree.](/_astro/file-tree-new-file.BZUxMHZt_Zr34xb.webp?dpl=dpl_9gV68dirrqKrRdyth6yAi1FwZf77)
    
-   **Attach as context**: Insert the selected file into your agent prompt so the Agent can analyze or reference it.
    
-   **Copy path**: Copy the absolute file path to your clipboard.
    
-   **Copy relative path**: Copy the path relative to your current working directory.
