GeezerVison is showing github.com — User guide: Reviewing changed files, with an example of every way lin… · TheIdeaPlace/AIChat@bff1ee5
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: docs/user-guide.html +118-5Lines changed: 118 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 34 | 34 | <p>The Chat Place is an independent project by Kelly Ford, not made, sponsored or endorsed by | 35 | 35 | Anthropic or OpenAI. Claude and Claude Code are trademarks of Anthropic; ChatGPT and Codex are | 36 | 36 | OpenAI products.</p> | 37 | | -<nav aria-labelledby="contents"><h2 id="contents">Contents</h2><ul><li><a href="#before-you-start">Before you start</a></li><li><a href="#your-first-chat">Your first chat</a></li><li><a href="#the-window">The window</a></li><li><a href="#reading-a-chat">Reading a chat</a></li><li><a href="#finding-things">Finding things</a></li><li><a href="#kinds-of-chat">Kinds of chat</a></li><li><a href="#what-works-for-each-provider">What works for each provider</a></li><li><a href="#codex-chats">Codex chats</a></li><li><a href="#github-copilot-cli-chats-preview">GitHub Copilot CLI chats (preview)</a></li><li><a href="#starting-a-chat-and-replying">Starting a chat and replying</a></li><li><a href="#permissions-and-questions">Permissions and questions</a></li><li><a href="#organizing-your-chats">Organizing your chats</a></li><li><a href="#announcements-and-notifications">Announcements and notifications</a></li><li><a href="#settings">Settings</a></li><li><a href="#usage-and-context">Usage and context</a></li><li><a href="#exporting-a-chat">Exporting a chat</a></li><li><a href="#more-things-you-can-do">More things you can do</a></li><li><a href="#links-to-chats">Links to chats</a></li><li><a href="#remote-control">Remote Control</a></li><li><a href="#your-chats-on-other-computers">Your chats on other computers</a></li><li><a href="#updates">Updates</a></li><li><a href="#uninstalling">Uninstalling</a></li><li><a href="#troubleshooting">Troubleshooting</a></li><li><a href="#good-to-know">Good to know</a></li><li><a href="#glossary">Glossary</a></li></ul></nav><h2 id="before-you-start">Before you start</h2> | | 37 | +<nav aria-labelledby="contents"><h2 id="contents">Contents</h2><ul><li><a href="#before-you-start">Before you start</a></li><li><a href="#your-first-chat">Your first chat</a></li><li><a href="#the-window">The window</a></li><li><a href="#reading-a-chat">Reading a chat</a></li><li><a href="#finding-things">Finding things</a></li><li><a href="#reviewing-changed-files">Reviewing changed files</a></li><li><a href="#kinds-of-chat">Kinds of chat</a></li><li><a href="#what-works-for-each-provider">What works for each provider</a></li><li><a href="#codex-chats">Codex chats</a></li><li><a href="#github-copilot-cli-chats-preview">GitHub Copilot CLI chats (preview)</a></li><li><a href="#starting-a-chat-and-replying">Starting a chat and replying</a></li><li><a href="#permissions-and-questions">Permissions and questions</a></li><li><a href="#organizing-your-chats">Organizing your chats</a></li><li><a href="#announcements-and-notifications">Announcements and notifications</a></li><li><a href="#settings">Settings</a></li><li><a href="#usage-and-context">Usage and context</a></li><li><a href="#exporting-a-chat">Exporting a chat</a></li><li><a href="#more-things-you-can-do">More things you can do</a></li><li><a href="#links-to-chats">Links to chats</a></li><li><a href="#remote-control">Remote Control</a></li><li><a href="#your-chats-on-other-computers">Your chats on other computers</a></li><li><a href="#updates">Updates</a></li><li><a href="#uninstalling">Uninstalling</a></li><li><a href="#troubleshooting">Troubleshooting</a></li><li><a href="#good-to-know">Good to know</a></li><li><a href="#glossary">Glossary</a></li></ul></nav><h2 id="before-you-start">Before you start</h2> | 38 | 38 | <p>You need:</p> | 39 | 39 | <ul> | 40 | 40 | <li>Windows 10 or 11, or a Mac with Apple silicon.</li> | @@ -304,10 +304,7 @@ <h3>Lists: code blocks, links, files, commands, decisions and tasks</h3> | 304 | 304 | <li><strong>Code Blocks:</strong> each code block, by language and size, with its code to read.</li> | 305 | 305 | <li><strong>Links:</strong> each link, its words and where it goes, then who wrote it and roughly when.</li> | 306 | 306 | <li><strong>Changed Files</strong> (Claude and Copilot chats): each file changed, with how many lines were added | 307 | | - and removed, and its changes to read line by line: where each change is ("Lines 12 to 20:"), | 308 | | - then its lines, marked as Settings, <strong>Mark changed lines with</strong> says (words at first: | 309 | | - "Added:", "Removed:", "Unchanged:"). A file Copilot deleted says "deleted". This | 310 | | - works for desktop app chats and chats started in Copilot CLI too.</li> | | 307 | + and removed, and its changes to read line by line (see "Reviewing changed files" below).</li> | 311 | 308 | <li><strong>Commands</strong> (Claude chats): each command Claude ran: what it said it was doing, then "done", | 312 | 309 | "failed" or "no result yet". Its full text shows the command and its output.</li> | 313 | 310 | <li><strong>Decisions</strong> (Claude chats): each question Claude asked you, with your answer.</li> | @@ -359,6 +356,121 @@ <h3>Lists: code blocks, links, files, commands, decisions and tasks</h3> | 359 | 356 | code". Only web, email and session links open; anything else, such as a file path, is marked | 360 | 357 | "copy only" and says why if you try to open it. Links in tool calls and results are listed only | 361 | 358 | with Show Tool Activity on.</p> | | 359 | +<h2 id="reviewing-changed-files">Reviewing changed files</h2> | | 360 | +<p>Changed Files lists each file the AI changed in a chat and lets you read each change a line at | | 361 | +a time. It works for Claude and Copilot chats, including desktop app chats and chats started in | | 362 | +Copilot CLI. It's built from the chat's own record, so it needs no git. Codex chats don't have it | | 363 | +yet.</p> | | 364 | +<h3>Opening it</h3> | | 365 | +<p>Press <strong>Ctrl+Shift+D</strong> (on a Mac, Cmd+Shift+D), or choose View, Changed Files. It opens Lists on | | 366 | +Changed Files, for the selected message's turn: everything from your message to the AI's reply. | | 367 | +With no message selected, it shows your latest message's turn. If that turn changed nothing, it | | 368 | +shows the whole chat. <strong>Show items from</strong> (Alt+S) switches between <strong>This message</strong> and | | 369 | +<strong>The whole chat</strong>.</p> | | 370 | +<p>When a turn in the chat you have open finishes and changed files, you hear a summary after the | | 371 | +reply, at the Full announcement level; otherwise it goes to the status bar:</p> | | 372 | +<section role="region" aria-label="Code block, 1 line"><pre><code>Fix the greeting: Changed 2 files: greet.py, 2 lines added, 1 removed; NOTES.md, created, 3 lines. Ctrl+Shift+D shows the changes. | | 373 | +</code></pre></section> | | 374 | +<h3>The file list</h3> | | 375 | +<p>Each file is one row: its name, how many lines were added and removed, and its folder within the | | 376 | +chat's folder. Files are in the order they were first changed.</p> | | 377 | +<section role="region" aria-label="Code block, 4 lines"><pre><code>greet.py, 2 lines added, 1 removed, in src | | 378 | +NOTES.md, created, 3 lines | | 379 | +old-notes.txt, deleted | | 380 | +settings.json, no lines changed | | 381 | +</code></pre></section> | | 382 | +<ul> | | 383 | +<li><strong>"created"</strong> is a new file, with how many lines it has.</li> | | 384 | +<li><strong>"deleted"</strong> is a file Copilot deleted.</li> | | 385 | +<li><strong>"no lines changed"</strong> is a file that was written again with the same text.</li> | | 386 | +</ul> | | 387 | +<p><strong>Type</strong> to narrow the list by name. <strong>Ctrl+C</strong> (or Copy) copies the selected file's full path.</p> | | 388 | +<h3>Reading a file's changes</h3> | | 389 | +<p>Press <strong>Enter</strong> on a file to read its changes in the <strong>Details</strong> box below the list. Arrow | | 390 | +through it a line at a time.</p> | | 391 | +<ul> | | 392 | +<li>The first line is the file's full path and its counts.</li> | | 393 | +<li>Each change then starts with a blank line and where it is in the file, after the change: | | 394 | + "At line 5:" for one line, or "Lines 12 to 16:" for several.</li> | | 395 | +<li>"A change:" means the place in the file wasn't recorded. That happens with some older | | 396 | + chats.</li> | | 397 | +<li>For a file Copilot deleted, the lines are where they were before.</li> | | 398 | +<li>Then come the change's lines, each starting with a mark that says whether it was added, | | 399 | + removed or left as it was. The unchanged lines around a change are there to show where it is.</li> | | 400 | +<li>An empty line reads "blank line", after its mark, so it isn't silent.</li> | | 401 | +<li>"Note: No newline at end of file" means the line before it is the last in the file, with no | | 402 | + line break after it.</li> | | 403 | +</ul> | | 404 | +<h3>How lines are marked</h3> | | 405 | +<p>Settings (Ctrl+Comma), <strong>Mark changed lines with</strong> (Alt+H), chooses how each line starts. Every | | 406 | +style gives one line for each line of the change, with the mark first. Here is the same change in | | 407 | +each: a greeting function whose print line was replaced with two lines.</p> | | 408 | +<p><strong>Words</strong> (the default): the plainest, and spoken at any punctuation level.</p> | | 409 | +<section role="region" aria-label="Code block, 9 lines"><pre><code>C:\Projects\app\src\greet.py: 2 lines added, 1 removed. | | 410 | + | | 411 | +Lines 12 to 16: | | 412 | +Unchanged: def greet(name): | | 413 | +Removed: print('Hello ' + name) | | 414 | +Added: message = f'Hello, {name}!' | | 415 | +Added: print(message) | | 416 | +Unchanged: blank line | | 417 | +Unchanged: def main(): | | 418 | +</code></pre></section> | | 419 | +<p><strong>Short words:</strong> the same, with shorter words that are still spoken at any punctuation level.</p> | | 420 | +<section role="region" aria-label="Code block, 7 lines"><pre><code>Lines 12 to 16: | | 421 | +Same def greet(name): | | 422 | +Del print('Hello ' + name) | | 423 | +Add message = f'Hello, {name}!' | | 424 | +Add print(message) | | 425 | +Same blank line | | 426 | +Same def main(): | | 427 | +</code></pre></section> | | 428 | +<p><strong>Diff symbols:</strong> the marks git and GitHub use, "+" for added and "-" for removed, with "=" for | | 429 | +an unchanged line, where git leaves a space.</p> | | 430 | +<section role="region" aria-label="Code block, 7 lines"><pre><code>Lines 12 to 16: | | 431 | += def greet(name): | | 432 | +- print('Hello ' + name) | | 433 | ++ message = f'Hello, {name}!' | | 434 | ++ print(message) | | 435 | += blank line | | 436 | += def main(): | | 437 | +</code></pre></section> | | 438 | +<p><strong>Diff symbols with changed lines:</strong> as Diff symbols, but a removed line followed by the line | | 439 | +that replaced it reads as a pair, "!-" for the old line, then "!+" for the new one. Lines with | | 440 | +no partner keep "+" or "-". Here the old print line pairs with the first new line, and the second | | 441 | +new line is simply added.</p> | | 442 | +<section role="region" aria-label="Code block, 7 lines"><pre><code>Lines 12 to 16: | | 443 | += def greet(name): | | 444 | +!- print('Hello ' + name) | | 445 | +!+ message = f'Hello, {name}!' | | 446 | ++ print(message) | | 447 | += blank line | | 448 | += def main(): | | 449 | +</code></pre></section> | | 450 | +<p>When several lines are replaced, the pairs come one after another, each old line followed by | | 451 | +its new one: "!- old 1", "!+ new 1", "!- old 2", "!+ new 2". So these lines aren't in the order | | 452 | +the file has them, which they are in every other style.</p> | | 453 | +<p>Symbols are spoken only if your screen reader's punctuation level reads them. At a lower level, | | 454 | +"+", "-", "=" or "!" may be skipped, and a line can sound unchanged when it isn't. Settings says so | | 455 | +when you move the choice onto a symbol style. If you'd like symbols, raise the punctuation level | | 456 | +while you read changes, or use Short words.</p> | | 457 | +<p>A new file is all added lines:</p> | | 458 | +<section role="region" aria-label="Code block, 6 lines"><pre><code>C:\Projects\app\NOTES.md: created, 3 lines. | | 459 | + | | 460 | +Lines 1 to 3: | | 461 | +Added: # Notes | | 462 | +Added: blank line | | 463 | +Added: First draft. | | 464 | +</code></pre></section> | | 465 | +<h3>Copying changes</h3> | | 466 | +<p>Select text in the Details box and copy it as usual; it's marked in the style you chose. Ctrl+C | | 467 | +in the file list copies the file's path instead.</p> | | 468 | +<h3>What isn't listed</h3> | | 469 | +<ul> | | 470 | +<li>Files the AI changed by running a command (a script, <code>sed</code>, or <code>cat > file</code>) rather than with | | 471 | + its own editing tools. For Copilot chats every change is listed, whichever tool made it.</li> | | 472 | +<li>Changes made by a subagent Claude hands work to, and edits to notebooks.</li> | | 473 | +</ul> | 362 | 474 | <h2 id="kinds-of-chat">Kinds of chat</h2> | 363 | 475 | <p>A chat's <strong>Kind</strong> says where it was started. You read every kind the same way: arrow to it and | 364 | 476 | press <strong>Enter</strong>. What differs is where you reply.</p> | @@ -1356,6 +1468,7 @@ <h2 id="settings">Settings</h2> | 1356 | 1468 | </ul> | 1357 | 1469 | <p>Symbols are spoken only if your screen reader's punctuation level reads them, and you hear that | 1358 | 1470 | when you move the choice onto one. Text you copy from Changed Files is marked the same way. | | 1471 | + "Reviewing changed files" has an example of each. | 1359 | 1472 | - <strong>Recent folders New Session offers</strong> (Alt+F): how many of your recent folders New Session's | 1360 | 1473 | Folder list offers, 20 at first, up to 100; 0 offers none. It counts the next time New Session | 1361 | 1474 | opens. | |
Collapse file Copy file name to clipboardExpand all lines: docs/user-guide.md +136-4Lines changed: 136 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -334,10 +334,7 @@ session list, the messages or the reply box: | 334 | 334 | - **Code Blocks:** each code block, by language and size, with its code to read. | 335 | 335 | - **Links:** each link, its words and where it goes, then who wrote it and roughly when. | 336 | 336 | - **Changed Files** (Claude and Copilot chats): each file changed, with how many lines were added | 337 | | - and removed, and its changes to read line by line: where each change is ("Lines 12 to 20:"), | 338 | | - then its lines, marked as Settings, **Mark changed lines with** says (words at first: | 339 | | - "Added:", "Removed:", "Unchanged:"). A file Copilot deleted says "deleted". This | 340 | | - works for desktop app chats and chats started in Copilot CLI too. | | 337 | + and removed, and its changes to read line by line (see "Reviewing changed files" below). | 341 | 338 | - **Commands** (Claude chats): each command Claude ran: what it said it was doing, then "done", | 342 | 339 | "failed" or "no result yet". Its full text shows the command and its output. | 343 | 340 | - **Decisions** (Claude chats): each question Claude asked you, with your answer. | @@ -392,6 +389,140 @@ code". Only web, email and session links open; anything else, such as a file pat | 392 | 389 | "copy only" and says why if you try to open it. Links in tool calls and results are listed only | 393 | 390 | with Show Tool Activity on. | 394 | 391 |
| | 392 | +## Reviewing changed files | | 393 | + | | 394 | +Changed Files lists each file the AI changed in a chat and lets you read each change a line at | | 395 | +a time. It works for Claude and Copilot chats, including desktop app chats and chats started in | | 396 | +Copilot CLI. It's built from the chat's own record, so it needs no git. Codex chats don't have it | | 397 | +yet. | | 398 | + | | 399 | +### Opening it | | 400 | + | | 401 | +Press **Ctrl+Shift+D** (on a Mac, Cmd+Shift+D), or choose View, Changed Files. It opens Lists on | | 402 | +Changed Files, for the selected message's turn: everything from your message to the AI's reply. | | 403 | +With no message selected, it shows your latest message's turn. If that turn changed nothing, it | | 404 | +shows the whole chat. **Show items from** (Alt+S) switches between **This message** and | | 405 | +**The whole chat**. | | 406 | + | | 407 | +When a turn in the chat you have open finishes and changed files, you hear a summary after the | | 408 | +reply, at the Full announcement level; otherwise it goes to the status bar: | | 409 | + | | 410 | + Fix the greeting: Changed 2 files: greet.py, 2 lines added, 1 removed; NOTES.md, created, 3 lines. Ctrl+Shift+D shows the changes. | | 411 | + | | 412 | +### The file list | | 413 | + | | 414 | +Each file is one row: its name, how many lines were added and removed, and its folder within the | | 415 | +chat's folder. Files are in the order they were first changed. | | 416 | + | | 417 | + greet.py, 2 lines added, 1 removed, in src | | 418 | + NOTES.md, created, 3 lines | | 419 | + old-notes.txt, deleted | | 420 | + settings.json, no lines changed | | 421 | + | | 422 | +- **"created"** is a new file, with how many lines it has. | | 423 | +- **"deleted"** is a file Copilot deleted. | | 424 | +- **"no lines changed"** is a file that was written again with the same text. | | 425 | + | | 426 | +**Type** to narrow the list by name. **Ctrl+C** (or Copy) copies the selected file's full path. | | 427 | + | | 428 | +### Reading a file's changes | | 429 | + | | 430 | +Press **Enter** on a file to read its changes in the **Details** box below the list. Arrow | | 431 | +through it a line at a time. | | 432 | + | | 433 | +- The first line is the file's full path and its counts. | | 434 | +- Each change then starts with a blank line and where it is in the file, after the change: | | 435 | + "At line 5:" for one line, or "Lines 12 to 16:" for several. | | 436 | + - "A change:" means the place in the file wasn't recorded. That happens with some older | | 437 | + chats. | | 438 | + - For a file Copilot deleted, the lines are where they were before. | | 439 | +- Then come the change's lines, each starting with a mark that says whether it was added, | | 440 | + removed or left as it was. The unchanged lines around a change are there to show where it is. | | 441 | +- An empty line reads "blank line", after its mark, so it isn't silent. | | 442 | +- "Note: No newline at end of file" means the line before it is the last in the file, with no | | 443 | + line break after it. | | 444 | + | | 445 | +### How lines are marked | | 446 | + | | 447 | +Settings (Ctrl+Comma), **Mark changed lines with** (Alt+H), chooses how each line starts. Every | | 448 | +style gives one line for each line of the change, with the mark first. Here is the same change in | | 449 | +each: a greeting function whose print line was replaced with two lines. | | 450 | + | | 451 | +**Words** (the default): the plainest, and spoken at any punctuation level. | | 452 | + | | 453 | + C:\Projects\app\src\greet.py: 2 lines added, 1 removed. | | 454 | + | | 455 | + Lines 12 to 16: | | 456 | + Unchanged: def greet(name): | | 457 | + Removed: print('Hello ' + name) | | 458 | + Added: message = f'Hello, {name}!' | | 459 | + Added: print(message) | | 460 | + Unchanged: blank line | | 461 | + Unchanged: def main(): | | 462 | + | | 463 | +**Short words:** the same, with shorter words that are still spoken at any punctuation level. | | 464 | + | | 465 | + Lines 12 to 16: | | 466 | + Same def greet(name): | | 467 | + Del print('Hello ' + name) | | 468 | + Add message = f'Hello, {name}!' | | 469 | + Add print(message) | | 470 | + Same blank line | | 471 | + Same def main(): | | 472 | + | | 473 | +**Diff symbols:** the marks git and GitHub use, "+" for added and "-" for removed, with "=" for | | 474 | +an unchanged line, where git leaves a space. | | 475 | + | | 476 | + Lines 12 to 16: | | 477 | + = def greet(name): | | 478 | + - print('Hello ' + name) | | 479 | + + message = f'Hello, {name}!' | | 480 | + + print(message) | | 481 | + = blank line | | 482 | + = def main(): | | 483 | + | | 484 | +**Diff symbols with changed lines:** as Diff symbols, but a removed line followed by the line | | 485 | +that replaced it reads as a pair, "!-" for the old line, then "!+" for the new one. Lines with | | 486 | +no partner keep "+" or "-". Here the old print line pairs with the first new line, and the second | | 487 | +new line is simply added. | | 488 | + | | 489 | + Lines 12 to 16: | | 490 | + = def greet(name): | | 491 | + !- print('Hello ' + name) | | 492 | + !+ message = f'Hello, {name}!' | | 493 | + + print(message) | | 494 | + = blank line | | 495 | + = def main(): | | 496 | + | | 497 | +When several lines are replaced, the pairs come one after another, each old line followed by | | 498 | +its new one: "!- old 1", "!+ new 1", "!- old 2", "!+ new 2". So these lines aren't in the order | | 499 | +the file has them, which they are in every other style. | | 500 | + | | 501 | +Symbols are spoken only if your screen reader's punctuation level reads them. At a lower level, | | 502 | +"+", "-", "=" or "!" may be skipped, and a line can sound unchanged when it isn't. Settings says so | | 503 | +when you move the choice onto a symbol style. If you'd like symbols, raise the punctuation level | | 504 | +while you read changes, or use Short words. | | 505 | + | | 506 | +A new file is all added lines: | | 507 | + | | 508 | + C:\Projects\app\NOTES.md: created, 3 lines. | | 509 | + | | 510 | + Lines 1 to 3: | | 511 | + Added: # Notes | | 512 | + Added: blank line | | 513 | + Added: First draft. | | 514 | + | | 515 | +### Copying changes | | 516 | + | | 517 | +Select text in the Details box and copy it as usual; it's marked in the style you chose. Ctrl+C | | 518 | +in the file list copies the file's path instead. | | 519 | + | | 520 | +### What isn't listed | | 521 | + | | 522 | +- Files the AI changed by running a command (a script, `sed`, or `cat > file`) rather than with | | 523 | + its own editing tools. For Copilot chats every change is listed, whichever tool made it. | | 524 | +- Changes made by a subagent Claude hands work to, and edits to notebooks. | | 525 | + | 395 | 526 | ## Kinds of chat | 396 | 527 |
| 397 | 528 | A chat's **Kind** says where it was started. You read every kind the same way: arrow to it and | @@ -1325,6 +1456,7 @@ setting moves straight to it. | 1325 | 1456 |
| 1326 | 1457 | Symbols are spoken only if your screen reader's punctuation level reads them, and you hear that | 1327 | 1458 | when you move the choice onto one. Text you copy from Changed Files is marked the same way. | | 1459 | + "Reviewing changed files" has an example of each. | 1328 | 1460 | - **Recent folders New Session offers** (Alt+F): how many of your recent folders New Session's | 1329 | 1461 | Folder list offers, 20 at first, up to 100; 0 offers none. It counts the next time New Session | 1330 | 1462 | opens. | |
|