File Management
The left sidebar is your primary interface for navigating between files and collections in your Astro project.
Opening a Project
Section titled “Opening a Project”File > Open Project (
Opening a project takes you back to the file you had open when you last left it, if it’s still there. If you closed the file before leaving, nothing opens.
Right-clicking a project in the list gives you these options:
| Action | Description |
|---|---|
| Reveal in Finder | Show the project’s folder in your OS’s file explorer. |
| Open in IDE | Open the project in your configured IDE. Only shown when one is configured. |
| Copy Path | Copy the project folder’s path to the clipboard. |
| Project Settings… | For the open project: open Project Settings. |
| Locate… | For a missing project: choose the folder it moved to. |
| Remove from Astro Editor… | Remove the project from the list and delete its settings in Astro Editor. The project’s own files aren’t touched. You can also press |
Switching projects saves the open file first. If it can’t be saved, you stay where you are, and a message offers Switch Anyway, which loses its latest changes.
Moved projects
Section titled “Moved projects”Astro Editor remembers projects by their folder, so if you move or rename a project’s folder, it shows as Missing in the list. Choose it (or right-click it and choose Locate…) and pick the folder’s new location to open it with its settings as they were. If you’ve already opened the new folder with Open Folder…, Astro Editor asks before replacing that copy’s settings with the missing project’s.
A project on an external drive that isn’t connected shows as Drive Not Connected instead, since it hasn’t moved. Choosing it tells you to connect the drive.
Navigating between files
Section titled “Navigating between files”Clicking on a collection name will show its files in the sidebar. Subdirectories are also shown and can be navigated as you’d expect.
Each collection in the list shows how many files it has. When its folder isn’t named after it, the folder’s name is shown under the collection’s. A collection with a problem has a warning or error icon, and hovering over the icon says what’s wrong. Project Settings has the details and what to do. A collection whose folder is missing or outside the project is listed dimmed, and clicking it opens Project Settings instead of its files.
The project’s icon at the top of the list of collections, and the Project Settings button at the bottom, open Project Settings.
What’s shown in the sidebar
Section titled “What’s shown in the sidebar”
The sidebar shows the following information for each file:
| Item | Description |
|---|---|
| Title | Taken from the title frontmatter field (or whatever title field is configured in the Project Settings). The filename is shown if none exists. |
| Date | Publication date (or whatever pubDate field is configured in Project Settings) if it exists. |
| MDX Badge | For files of that type. |
| Draft Badge | For files with draft: true (or whatever draft field is configured in Project Settings). |
| Filename | Including the file extension. |
The Context Menu
Section titled “The Context Menu”Right-clicking a file in the left sidebar gives you the following options:
| Action | Description |
|---|---|
| Rename | Edit the filename. |
| Duplicate | Create a duplicate of the file with a new name. |
| Reveal in Finder | Open the file’s location in your OS’s file explorer. |
| Copy Path | Copy the absolute file path to the clipboard. |
| Open in IDE | Open the file in your configured IDE. Only shown when one is configured. |
| Delete | Delete the file, after asking. It isn’t moved to the Bin, and if it’s open, it’s closed. |
Creating New Files
Section titled “Creating New Files”When a collection is open, you can create a new file with
New files are named with today’s date, like 2026-11-09.md. To name them from their title instead, or both, set the collection’s file name pattern: the file is renamed once you write its title.