The Project Window
The parts of the window
A project window has three parts:
- The sidebar, on the left, lists the Workspace and the project's files. Show or hide it with the button at the start of the toolbar or View ⟩ Show Sidebar (control command S).
- The editor, in the middle, shows the selected tab: a document, a preview, a server or the LatteAI conversation
- The inspector, on the right, holds tools for what is in the editor, such as the CSS tools for a stylesheet. Show or hide it with the button at the end of the toolbar or View ⟩ Show Inspector (option command I). The inspector closes by itself for a tab that has no tools, and comes back for one that has.
The toolbar has, from the left: the sidebar button, Find (find in the project), Servers (publishing), the buttons of the tab in front, LatteAI, and the inspector button.
The project's files
The lower part of the sidebar, headed Project, lists the project's folder.
- Click a file to look at it. It is shown in the editor, but not kept open.
- Double click a file to open it in the Workspace, or click the button that appears beside its name, or choose File ⟩ Open in Workspace (command T)
- Double click a folder to star it. Starred folders are the ones you keep coming back to: see the filter below.
- Right click for the file actions, which are also in the + button at the foot of the sidebar
To find a file by name, type in the Filter Files field at the foot of the sidebar. Click the star in the field to show only the files you have open and the folders you have starred, which makes a large project small again.
A file that Espresso cannot show opens in the app your Mac uses for it.
The Workspace
The Workspace, at the top of the sidebar, is where the things you are working on are listed: documents, previews, servers and the LatteAI conversation. Espresso remembers a project's Workspace and opens it again with the project.
The Workspace performs the same function as tabs in other programs, but with the benefit of always showing you the full file name and being scrollable if you have a large number of files open.
- Drag items in the Workspace to reorder them, or drag one out to give it a window of its own
- Click the close button beside an item to close it. Hold option and click to close every item but that one.
- Choose Clean Up by Kind from the Workspace heading's menu to sort the Workspace into previews, servers and documents by kind
- If you would rather see open files where they live, choose Show File Tabs ⟩ in Project Files from the same menu. Open files are then marked in the project's files and not listed in the Workspace.
You can switch between the items of the Workspace using the same shortcuts as you would for tabs in a normal window:
- Window ⟩ Show Next Tab: control tab or shift command ]
- Window ⟩ Show Previous Tab: control shift tab or shift command [
- command 1 to command 9 select a tab by its position
File ⟩ Close Tab (command W) closes the tab in front, Close Other Tabs (option command W) all the others, and Close Window (shift command W) the project.
The tab bar
If you prefer tabs across the top of the editor, choose View ⟩ Show Tab Bar (shift command T), or Show Tab Bar from the Workspace heading's menu. The Workspace's items are then shown as tabs above the editor, and the sidebar is given over to the project's files. Each project remembers which you chose for it.
Quick Publish
When a project has a server, the selected file's tab carries a Quick Publish mark:
- Three dots mean Quick Publish is available but off
- An arrow means Quick Publish is on: your files are uploaded when you save them
Click the mark for the Quick Publish settings, or hold option and click to turn it on and off. See Quick Publish.
Open Quickly
To get to a file without looking for it in the sidebar, choose File ⟩ Open Quickly… (shift command O).
Type a few letters of the file's name; they do not have to be next to each other in the name. Select the file in the list and press enter to open it. Open Quickly also suggests files related to the one in front.