Files

107 lines
6.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Title bar
The title bar is the 44-point strip across the top of a project window. It tells you which project, branch and file you are on, and holds the column toggles, the Git and Schema toggles and the main tools.
[Guide index](index.md) · Related: [Window layout](layout.md), [Search](search.md), [Keyboard shortcuts](keyboard-shortcuts.md)
## At a glance
```text
+----------------------------------------------------------------------------+
| o o o Helder. shop . main app > Http > User.php * |
| (1) (2) (3) (4) (5) (6) |
| |
| [.Explorer|.File|.Claude] [Git 3 |.Schema |Search |.Fluid |.Hidden] [?] |
| (7) (8) (9) (10) (11) (11) (12) |
+----------------------------------------------------------------------------+
```
The bar is one row in the app. It is drawn on two rows here to fit the page.
While Helder reads aloud, a **Stop** button leads the toolbar:
```text
| [.Stop |Git 3 |.Schema |Search |.Fluid |.Hidden] [?] |
```
1. **Window buttons**: the macOS close, minimize and zoom buttons.
2. **Wordmark**: "Helder" with a blinking amber dot.
3. **Project name**: the project folder's name. Click it to open another folder.
4. **Branch**: the current git branch, in amber.
5. **Breadcrumb**: the path of the open file, folder by folder.
6. **Unsaved dot**: an amber dot when the open file has unsaved edits.
7. **Pane toggles**: each shows or hides one column.
8. **Git N**: opens and closes the Git view.
9. **Schema**: opens and closes the Schema view, in a Laravel app only.
10. **Search**: a button that opens an overlay.
11. **Fluid** and **Hidden**: on/off toggles.
12. **`?`**: opens the keyboard shortcuts.
## Features
### Wordmark, project and branch
- The wordmark sits right after the window buttons. In full screen the window buttons are gone, and everything moves left.
- The project name is dim and turns brighter on hover. Click it to open a folder picker and switch this window to another project. See [Recent projects](recent-projects.md).
- A middle dot separates the project name from the branch.
- The branch shows in amber. It shows `—` when the folder has no git branch.
### Breadcrumb
- Shows the path of the open file, with `›` between the parts, for example `resources › views › form.blade.php`.
- Folder names are dim. The file name is bright and bold.
- An amber dot after the file name means the file has unsaved edits. Hover it to read "Unsaved changes".
- When the path is too long, it cuts off at the start, so the file name stays visible.
- With no file open, the space is empty.
- The breadcrumb is for reading only. Clicking it does nothing.
### Pane toggles
- Three buttons in one box: **Explorer**, **File**, **Claude**.
- Each shows or hides its column. A dot on the button shows that the column is on. `Cmd+1`, `Cmd+2` and `Cmd+3` do the same.
- The hover tooltip says whether the column is shown, and what a click does.
- The toggles sit in the centre of the window. They only move left when the toolbar would run into them.
- Hiding a column keeps everything inside it. See [Window layout](layout.md).
### Toolbar
The toolbar sits on the right. Each button shows its shortcut next to its label.
- **Git N** (`Cmd+G`): opens the full-screen [Git](git.md) view. N counts the changed files; a file that is both staged and unstaged counts once. With no changes it reads **Git**. The view covers the title bar, so close it with `Cmd+G`, `Esc` or its own **Close** button.
- **Schema** (`Cmd+D`): opens the full-screen [Schema](schema.md) view, the database diagram. It shows only in a Laravel app: a project with an `artisan` file in its root. Opening it closes the Git view, and the other way round.
- **Search** (`Cmd+F`): opens search over the open file, the project contents and the file names. See [Search](search.md).
- **Fluid** (`Cmd+L`): when on, the columns re-fit on resize and when focus moves. When off, they keep their size. See [Window layout](layout.md).
- **Hidden** (`Cmd+.`): when on, dotfiles appear in the Explorer and in search.
- **`?`**: opens the keyboard shortcuts list. See [Keyboard shortcuts](keyboard-shortcuts.md).
Git, Schema, Fluid and Hidden carry a state dot like the pane toggles; the Git and Schema dots are on while their view is open. Search has no dot, because it is an action. Hover any button for a tooltip that explains its current state.
### Read aloud
- **Stop** shows only while Helder reads a file or a selection aloud. Start the reading from the [right-click menu](right-click-menu.md): **Read aloud** on a Markdown file, **Read aloud selection** in the code.
- It sits left of **Git**, in the same style, and its dot is on. The tooltip says "Read aloud: playing. Click to stop."
- Click it to switch it off: the reading stops and the button goes away.
- The button also goes away when the reading reaches the end. Switching projects or closing the window stops the reading.
### Moving the window
Drag an empty part of the title bar to move the window, as in any macOS app.
## Keyboard
| Keys | Action |
|---|---|
| `Cmd+F` | Search |
| `Cmd+L` | Fluid column widths on or off |
| `Cmd+.` | Hidden files on or off |
| `Cmd+G` | Open or close the Git view |
| `Cmd+D` | Open or close the Schema view (Laravel apps) |
| `Cmd+1` / `Cmd+2` / `Cmd+3` | Explorer, File or Claude column on or off |
| `?` | Keyboard shortcuts (when no text field has focus) |
| `Cmd+O` | Open a folder (same as clicking the project name) |
## Related
- [Window layout](layout.md): what the pane toggles, Fluid and Hidden do to the columns.
- [Git](git.md): the view the Git toggle opens.
- [Schema](schema.md): the view the Schema toggle opens.
- [Search](search.md): the overlay the Search button opens.
- [Keyboard shortcuts](keyboard-shortcuts.md): the overlay the `?` button opens.
- [Recent projects](recent-projects.md): opening another folder.
- [Status bar](status-bar.md): the matching bar at the bottom of the window.
- [Right-click menu](right-click-menu.md): where Read aloud starts.