Improve loads of fancy things in relation to the mouse pointer

This commit is contained in:
2026-10-07 13:02:52 +02:00
parent ed5a227c9d
commit a0b3ef9975
25 changed files with 334 additions and 89 deletions
+3 -3
View File
@@ -33,9 +33,9 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
### Open the Diff
- Click **Diff** in the [file view](file-view.md) bar. The button shows only on a file with git changes.
- Click a marked (teal) line in the file view. The Diff opens centred on that line.
- Right-click a marked (teal) line in the file view and choose **Show diff**. The Diff opens centred on that line.
- Right-click a row in [Git](git.md) and choose **Open diff**.
- A file you open from a Git row remembers that row. The **Diff** button then shows that row's half (staged or unstaged). A click on a marked line always compares the last commit with the file on disk.
- A file you open from a Git row remembers that row. The **Diff** button then shows that row's half (staged or unstaged). Show diff on a marked line always compares the last commit with the file on disk.
### Layout
- The Diff covers all columns. The window's shortcuts still work over it.
@@ -94,7 +94,7 @@ The Diff is a full-screen, side-by-side comparison of a changed file. It covers
## Related
- [File view](file-view.md): the live view with teal line marks, where a click opens the Diff.
- [File view](file-view.md): the live view with teal line marks, where **Show diff** opens the Diff.
- [Git](git.md): the changes, the staged and unstaged halves, and **Open diff**.
- [Pass on to Agent](pass-on-to-agent.md): the reference format and the prompt.
- [Right-click menu](right-click-menu.md): the menus across Helder.
+2 -2
View File
@@ -45,8 +45,8 @@ The file view is the third column (Col C), between the [Explorer](explorer.md) a
- Teal tint, teal left rule and teal line number: a line the file holds now that is new or edited.
- A thin amber-deep rule on the top edge of a line: lines were removed just above it. At the end of the file the rule sits under the last line.
- Removed lines never show inline. To see them, open the [Diff](file-view-diff.md).
- Click a marked line (a plain click, no drag) to open the Diff centred on that line.
- In a new file every line is teal, so a click there does not open the Diff.
- Right-click a marked line and choose **Show diff** to open the Diff centred on that line. A left click places the caret, as on any line.
- In a new file every line is teal, so its menu has no Show diff.
- The marks follow your edits once git sees the saved file.
### Edit and save
+1 -1
View File
@@ -123,7 +123,7 @@ See [File view](file-view.md), [Markdown](file-view-markdown.md) and [Code symbo
| `Cmd+click` on a PHP class name | Show its declaration and references |
| Click a line number | Select that line |
| `Shift+click` a line number | Extend the selection to that line |
| Click a marked (changed) line | Open the Diff at that line |
| Right-click a marked (changed) line, **Show diff** | Open the Diff at that line |
### Recent files list
See [Go to file](go-to-file.md).
+12 -14
View File
@@ -7,33 +7,31 @@ Pass on to Agent sends a pointer to your code to the [Claude Code](claude-code.m
## At a glance
```text
app/Http/UserController.php:42-45 (1) menu header
+--------------------------------------+
| * Pass on selection | (2)
| Copy reference | (3)
| * Pass on selection | (1)
| Copy reference | (2)
+--------------------------------------+
+----------------------------------------------+
| * Pass on to agent [esc] | (4)
| * Pass on to agent [esc] | (3)
| +------------------------------------------+ |
| | Add a note (optional)... | | (5)
| | Add a note (optional)... | | (4)
| +------------------------------------------+ |
| Inserts [ check the eager load app/Http/ ] | (6)
| Inserts [ check the eager load app/Http/ ] | (5)
| [ UserController.php:42-45 ] |
| [ ``` ] |
| [ $user->load('roles'); ] |
| [ ``` ] |
| (enter) insert into agent (esc) cancel | (7)
| (enter) insert into agent (esc) cancel | (6)
+----------------------------------------------+
```
1. **Header**: the reference the menu acts on.
2. **Pass on**: "Pass on selection" with text selected, else "Pass on reference". Opens the prompt.
3. **Copy reference**: copies the reference to the clipboard.
4. **Prompt title**: marked with the amber spark that marks every pass-on action.
5. **Note field**: an optional note. The keyboard starts here.
6. **Inserts**: a live preview of the exact text that goes to the agent.
7. **Hints**: `Enter` inserts, `Esc` cancels.
1. **Pass on**: "Pass on selection" with text selected, else "Pass on reference". Opens the prompt.
2. **Copy reference**: copies the reference to the clipboard.
3. **Prompt title**: marked with the amber spark that marks every pass-on action.
4. **Note field**: an optional note. The keyboard starts here.
5. **Inserts**: a live preview of the exact text that goes to the agent.
6. **Hints**: `Enter` inserts, `Esc` cancels.
## Features
+31 -13
View File
@@ -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.