Improve loads of fancy things in relation to the mouse pointer
This commit is contained in:
@@ -21,7 +21,7 @@ Helder draws its own right-click menu, in the same dark style everywhere. This p
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
1. **Header**: what you clicked: a path, a folder path ending in `/`, or a reference such as `src/app.php:42`. Terminal menus have no header.
|
||||
1. **Header**: what you clicked: a path, or the project name ending in `/`. Folder, code, Diff and terminal menus have no header.
|
||||
2. **Highlighted item**: an amber rule on the left. The first item is highlighted when the menu opens.
|
||||
3. **Separator**: a thin line between groups of items.
|
||||
4. **Destructive item**: Discard and Delete read in amber-deep, so they stand out.
|
||||
@@ -124,12 +124,10 @@ Right-click a file in the [Explorer](explorer.md). The header is the file's path
|
||||
|
||||
### Explorer: folder
|
||||
|
||||
Right-click a folder. The header is the folder's path with a trailing `/`.
|
||||
Right-click a folder. This menu has no header.
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| app/Http/ |
|
||||
|----------------------------------------|
|
||||
| * Pass on reference |
|
||||
| # Copy reference |
|
||||
|----------------------------------------|
|
||||
@@ -148,6 +146,20 @@ Right-click a folder. The header is the folder's path with a trailing `/`.
|
||||
- **Rename folder**: opens the name prompt with the current name.
|
||||
- **Delete folder**: always asks first. The folder and everything inside it are deleted for good.
|
||||
|
||||
A folder directly inside the top-level `ontwikkelingen/` folder gets one extra group at the top. The archive folder `ontwikkelingen/ontwikkeld/` and deeper folders do not.
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| T Bouwen |
|
||||
|----------------------------------------|
|
||||
| * Pass on reference |
|
||||
| # Copy reference |
|
||||
| ... |
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
- **Bouwen**: inserts `/bouwen <folder name>` into the [Claude Code](claude-code.md) input, not sent. For example `/bouwen 2026-10-02-001-stats`. A [notification](notifications.md) says `Passed to agent`.
|
||||
|
||||
### Explorer: empty space
|
||||
|
||||
Right-click the empty space under the rows of the [Explorer](explorer.md). It stands for the project folder. The header is the project name with a trailing `/`.
|
||||
@@ -168,7 +180,7 @@ There is no New folder here. Type `name/file` in New file, or right-click an exi
|
||||
|
||||
### Code in the file view
|
||||
|
||||
Right-click in the code of the [File view](file-view.md). The header is the reference:
|
||||
Right-click in the code of the [File view](file-view.md). This menu has no header. The items use the reference:
|
||||
|
||||
- No selection: the path and the line you clicked, for example `src/app.php:42`.
|
||||
- With a selection: the path and the first and last selected line, for example `src/app.php:42-58`.
|
||||
@@ -177,8 +189,6 @@ Without a selection:
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| src/Http/UserController.php:42 |
|
||||
|----------------------------------------|
|
||||
| * Pass on reference |
|
||||
| # Copy reference |
|
||||
+----------------------------------------+
|
||||
@@ -188,25 +198,33 @@ With a selection:
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| src/Http/UserController.php:42-58 |
|
||||
|----------------------------------------|
|
||||
| * Pass on selection |
|
||||
| # Copy reference |
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
On a marked (teal) line of a changed file:
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| * Pass on reference |
|
||||
| # Copy reference |
|
||||
|----------------------------------------|
|
||||
| <> Show diff |
|
||||
+----------------------------------------+
|
||||
```
|
||||
|
||||
- **Pass on selection** passes the reference and the selected code. See [Pass on to Agent](pass-on-to-agent.md).
|
||||
- **Show diff** opens the full-screen [Diff](file-view-diff.md) of the file, centred on the line you right-clicked. Every marked line counts, a blank one and the space after the text included. A new file, where every line is marked, has no Show diff. A left click on a marked line only places the caret.
|
||||
- The same menu shows on the rendered [Markdown preview](file-view-markdown.md) and on an image. There it refers to the file's first line, for example `README.md:1`.
|
||||
- `Cmd+Right` with code selected opens the Pass on prompt straight away, without the menu.
|
||||
|
||||
### Diff
|
||||
|
||||
Right-click a line in the full-screen [Diff](file-view-diff.md). The menu stays inside the Diff.
|
||||
Right-click a line in the full-screen [Diff](file-view-diff.md). The menu stays inside the Diff. It has no header and no Show diff.
|
||||
|
||||
```text
|
||||
+----------------------------------------+
|
||||
| src/Http/UserController.php:42 |
|
||||
|----------------------------------------|
|
||||
| * Pass on reference |
|
||||
| # Copy reference |
|
||||
+----------------------------------------+
|
||||
@@ -266,5 +284,5 @@ Delete file and Delete folder always ask; no setting turns that off.
|
||||
- [Pass on to Agent](pass-on-to-agent.md): what happens after a Pass on item.
|
||||
- [Git](git.md): the rows behind the git menus.
|
||||
- [Explorer](explorer.md): the rows behind the file, folder and empty-space menus.
|
||||
- [File view: Diff](file-view-diff.md): where Open diff leads.
|
||||
- [File view: Diff](file-view-diff.md): where Open diff and Show diff lead.
|
||||
- [Notifications](notifications.md): the confirmations after Copy and file actions.
|
||||
|
||||
Reference in New Issue
Block a user