Preferences
Espresso's preferences allow you to modify the program's behavior to suit your personal workflow and needs. You can access them by choosing Espresso ⟩ Preferences… (command ,).
Topics
- General preferences
- Text Editing preferences
- Keyboard preferences
- Colors preferences
- Transfers preferences
- LatteAI preferences
- Advanced preferences
General preferences
When Espresso starts
This preference specifies what to do when you first launch Espresso, or click the Espresso Dock icon when there are no windows open: show the Projects window, open the documents you last used, open a new document, or do nothing.
Open documents
This preference specifies where to open documents: in a new window, or in a new tab of a document window that is already open. It doesn't apply to projects, or to files that belong to a project you have open, which always open in that project's window; only to stand-alone documents that are, for instance, dropped on the Espresso Dock icon.
Text Editing preferences
Editor font
Click the Choose… button to use the standard font picker to choose your editing font. You can choose any font, but we recommend using a fixed width font for the best editing experience. Espresso starts out with SF Mono at 12 points.
Line Spacing sets how much room there is between lines: Tight, Normal or Relaxed.
Lines
If you check Wrap lines that don't fit horizontally your lines will be soft wrapped.
If you check Indent wrapped lines the wrapped part of a line is indented beyond the beginning of its first line, by the number of spaces you give, which makes it easy to tell a wrapped line from a new one.
If you check Highlight the currently edited line then the line your cursor is on will be highlighted.
Tabs
Setting the width of your tabs will affect how much space is displayed in the editor for a single tab. If you check Tab key inserts spaces, not a tab then indentation uses that number of spaces instead of a tab character (applies to all indenting and outdenting actions).
These are the choices for new documents. A document that is already indented keeps to its own way when Use a file's own indentation when it is clear is checked, as it is to begin with, and you can change any document's indentation, or a whole language's, from the View ⟩ Indentation menu. See Tabs or spaces.
None of these settings modifies a document. If you wish to convert between tabs and spaces for an open document, you should use Text ⟩ Convert / Strip ⟩ Spaces To Tabs… or Tabs To Spaces….
Line endings
Choose the line ending characters for new documents here. An existing document keeps the line endings it has; to convert one, use the View ⟩ Line Endings menu.
Smart paste
Your smart paste settings affect how Espresso handles text that you paste. For instance, if you have copied this:
<div>
<h1>My title</h1>
</div>
And you paste it inside of another div (pipe represents cursor):
<div class="content">
|
</div>
You will get this with Adjust indentation of pasted text:
<div class="content">
<div>
<h1>My title</h1>
</div>
</div>
And this if you choose Paste text exactly as it was copied:
<div class="content">
<div>
<h1>My title</h1>
</div>
</div>
Regardless of which you choose, you can use the other if you hit control command V.
When saving
- Remove spaces from the ends of lines
- End the file with a line ending
Both tidy a document each time you save it, and both are off to begin with. See Tidying when you save.
While editing
- Suggest words that are in the document: has CodeSense offer the words you have already used in a document as you type
- Show where else a selected word occurs: when you select a word, marks its other occurrences in the document
- Mark lines changed since the last commit: shows change bars in the gutter of a file that is in a Git repository
Keyboard preferences
Lists every command with its keyboard shortcut. Click a shortcut to change it. See Choosing your own shortcuts.
Colors preferences
Active theme
Use this menu to choose which syntax theme you want to use. Espresso comes with four:
- Espresso Tutti Colori and Espresso Flat White, which are light
- Espresso Dark Roast and Espresso Ristretto, which are dark
Espresso keeps one choice for when your Mac is in its light appearance and another for the dark appearance, and changes theme when your Mac changes appearance. The menu sets the theme for the appearance your Mac is in now. To begin with these are Tutti Colori and Dark Roast.
The themes that come with Espresso cannot be edited. For a theme of your own, click the Edit Theme… button to immediately start editing that theme in Espresso (and see your changes as you make them).
Click the Reveal in Finder button to view a theme's CSS file in the Finder. For one of Espresso's own themes, Espresso instead reveals the Themes folder you should put your custom themes inside:
~/Library/Application Support/Espresso/Themes/
Documentation on editing and creating CSS themes.
Transfers preferences
These apply to files that Espresso publishes to a server.
- Permissions for new files and Permissions for new folders: click Choose… to set what the owner, the group and others may do with what Espresso creates on a server
- When overwriting items: keep the permissions the item on the server already has, or give it the permissions above
LatteAI preferences
Here you download and remove LatteAI's models, and choose whether it suggests as you type and shows hints in the editor. See LatteAI preferences.
Advanced preferences
If you have any plug-ins installed that offer preferences, they will be located here in the Advanced preferences. The Advanced section is only shown when there is something in it.
Please refer to the documentation for a particular plug-in for information on its preferences.