Dallin Romney
3078cd9280
fix: instant reject all for VS Code
2025-10-28 16:31:04 -07:00
Dallin Romney
d227a571bb
fix: instant apply for search and replace - vs code and jetbrains
2025-10-27 18:43:09 -07:00
Aditya Mitra
5f61d188e3
fix: focus on the selected file for edit/apply when showing diffs ( #7722 )
2025-09-16 16:04:36 -07:00
Ting-Wai To
4d44234855
feat: add editOutcome logging for Agent Mode
...
• Add editOutcome.jsonl logging for Agent Mode accept / rejects
• Capture original file content before applying changes to enable proper diff tracking
• Fix newline handling in IntelliJ and VS Code to prevent line count discrepancies, was causing lineChange count to be off by one
2025-07-24 14:38:04 -07:00
Nate
a2817cdf86
autoscroll to the first diff after apply
2025-07-05 11:27:05 -07:00
Nate
965e5d554e
add editOutcome to schema, and track streamId per file
2025-06-30 18:02:07 -07:00
Nate
1f5715fb52
lint fix again
2025-06-02 13:04:38 -07:00
Nate
d66bdd9989
npx prettier --check "extensions/vscode/**/*.{js,jsx,ts,tsx,json,css,md
...
}" --ignore-path .gitignore --ignore-path .prettierignore --write
2025-05-25 18:38:44 -07:00
Patrick Erichsen
49d65f69a1
chore: revert ApplyState name
2025-05-16 13:03:38 -07:00
Patrick Erichsen
e5072fcde0
feat [jb]: pull out apply logic into new class
2025-05-13 15:50:28 -07:00
chezsmithy
4268438eac
fix(diff-editor)-performance
2025-05-08 16:42:05 -07:00
Dallin Romney
b6ec53d769
patrick requested changes - remove in-block function etc
2025-05-02 18:07:15 -07:00
Dallin Romney
71685897a8
myers cleanup
2025-05-01 21:37:52 -07:00
Dallin Romney
61132a9acf
working diff lines, clean up
2025-05-01 21:17:59 -07:00
Dallin Romney
678bc7ae4c
sensible renames
2025-05-01 21:06:40 -07:00
Dallin Romney
891e8b32ff
red ghost text for apply
2025-05-01 16:21:43 -07:00
Owen W. Taylor
698633815f
reapplyWithMyersDiff(): don't skip trailing blank lines
...
myersDiff inherits the jsdiff behavior for trailing \n, so would
consider "foo\n" => "foo" a changed single line, rather than a change
from "foo", "" to "foo" - this would result in a trailing blank line
in the highlighted region silently vanishing from the buffer.
Adding \n to the inputs so that lines are \n terminated rather than
separated fixes this.
To make myersDiff logically consistent, pass ignoreNewlineAtEof: true
to jsdiff. (This is actually not needed for this bug fix.)
2025-02-25 15:36:40 -05:00
Owen W. Taylor
43bdea273d
Fix typo: meyersDiff => myersDiff
2025-02-25 15:36:40 -05:00
Owen W. Taylor
4219a206f2
When inserting streaming diffs, don't mess up for blank lines
...
There was code of unclear purpose that bailed out early when
totalDeletedContent == "" - but "" could either be
[].join("\n")
or:
[""].join("\n")
in the latter case, we *do* need to a deletion block. Since the
deletionBuffer.length == 0 case is otherwise handled, the code
is removed as unnecessary and harmful.
2025-02-25 15:36:40 -05:00
Nate
e3389aebc0
remove diff blocks in reverse order plus delay to solve bug
2025-01-10 22:53:53 -08:00
Test
f61476a493
fix: comment out auto apply on MFE
2025-01-09 16:43:30 -08:00
Test
cb77d90a89
Update handler.ts
2025-01-02 23:26:33 -06:00
Test
92a38ccf5f
bugfix: handle inline edit w/ myers diff
2025-01-02 23:24:32 -06:00
Test
f5e7f9ce71
feat: use meyers diff after initial edit/apply
2024-12-23 11:01:35 -06:00
Dallin Romney
4481cacac5
path->ide fixes
2024-12-13 17:45:10 -08:00
Dallin Romney
2225d0d702
(BROKEN) path -> uri vscode utils continued
2024-12-10 20:09:07 -08:00
Test
e0704b273b
updates based on feedback
2024-11-21 15:23:20 -08:00
Test
a9060131da
Merge branch 'main' into pe/tsc-fix-find-widget
2024-11-15 16:12:24 -08:00
Test
ffd2214ec1
Update handler.ts
2024-11-14 17:03:01 -08:00
Test
84932774ee
Merge branch 'main' into pe/tsc-fix-find-widget
2024-11-13 11:24:56 -08:00
Test
5a32062610
checkpoints working with undo
2024-11-13 09:20:59 -08:00
Nate
4d6de3fa44
Merge branch 'pe/core-eslint-bulk-fix' into dev
2024-11-11 13:50:40 -08:00
Test
b5cab4609b
chore: apply eslint to vscode and core
2024-11-11 07:38:52 -08:00
Test
ad6c0d0bb8
feat: show num diffs in toolbar
2024-11-08 17:15:25 -08:00
Nate Sesti
5075c64170
Merge pull request #2576 from kyleli626/log-cmd-I
...
log quickEdit to devdata
2024-10-25 16:49:50 -07:00
Kyle Li
7204ea2bd0
log quickEdit
2024-10-18 19:58:09 -07:00
DongjaJ
0f8625faf4
refactor: declare private class properties and initialize
2024-10-18 14:31:24 +09:00
tomasz-io
fa4d523807
reopen quick accept / reject quick pick when diff exists
2024-10-14 15:56:17 +07:00
Test
6a07581358
WIP
2024-10-09 18:00:44 -07:00
Test
b6b39dbf0a
update diff accept/reject logi
2024-10-09 14:22:17 -07:00
Test
26e536847c
update keybindings for accept/reject diff
2024-10-08 15:54:59 -07:00
Nate
55270279f6
apply status and corresponding ui
2024-09-26 20:07:25 -07:00
Nate
14f936d629
rename verticalPerLineDiff to verticalDiff
2024-09-25 20:38:34 -07:00