Managing Files
There are two ways to edit files in Espresso: as individual files that open in a window of their own, and within projects.
Topics
- The project window
- Project find and replace
- File actions
- Templates
- Remote files
- Publishing and servers
- The Projects window
- Project settings
Individual files
To open a file in Espresso, use File ⟩ Open… (command O) or drag and drop the file on Espresso's Dock icon. A file that is inside the folder of a project you have open opens in that project's window. Any other file opens in a document window.
You can choose in the General preferences whether files open in a new window, or as a new tab of the document window you already have. A document window shows its tab bar once it has a second tab. Drag a tab to reorder the tabs or to move it to another window, or choose Window ⟩ Move Tab to New Window (control command T).
A document window has the editor and its toolbar. The sidebar, project find, servers and the LatteAI conversation belong to projects.
Projects
An Espresso project is a folder where you keep a website's files. Any folder will do: Espresso keeps what it knows about the project (its servers, which files are open, and so forth) to itself and adds nothing to the folder, apart from a folder named #.Espresso when you use Dynamo or LatteAI's project notes. Using projects allows you to automatically reopen the last files you were editing, preview your pages as you edit them, sync files with a server, use find and replace across multiple files, and have LatteAI work on the site as a whole.
To start a project:
- choose File ⟩ New Project… (shift command N) and pick a template, or Choose Empty / Existing Folder to use a folder you already have
- or simply open a folder: choose File ⟩ Open…, or drag the folder to Espresso's Dock icon. Every folder you open is remembered as a project.
To open a project again, choose it from File ⟩ Open Project or from the Projects window.
When no file is selected, a project window shows the project's Dashboard, with buttons for creating files from templates, for Dynamo, and for a short introduction to projects.
The Projects window
To view all your projects, choose Window ⟩ Projects (shift command 1). The buttons in the bar of the Projects window are:
- New: start a new project, or choose an existing folder
- View: arrange the projects by name or by the date they were last opened
- Actions: for the selected project, Customize Logo…, a color tag, Show in Finder, Choose Folder… and Rename…
- Remove: Forget Project… takes the project out of the list and leaves its folder alone; Move to Trash… also moves the folder to the Trash
Type in the search field to find a project by name.
Temporary projects
Earlier versions of Espresso opened a folder as a temporary project whose settings were not kept. Now a folder you open is a project like any other. If you do not want to keep it in your list, select it in the Projects window and choose Forget Project… from the Remove button.
Project settings
A project's settings are found where they are used:
- The Workspace and Project headings in the sidebar are menus. They hold the choices for how tabs are shown and for how files are listed: Show Invisible Files, Show Folders First and Show Folders Last.
- Servers are set up with File ⟩ Project Servers…: see Publishing and servers
- The project's name, logo and color tag are set in the Projects window, or by clicking the name or logo on the Dashboard