Skip to content

Commit 68c5ebb

Browse files
authoredOct 15, 2024
Merge pull request #101 from voideditor/diff-selections
Refactor and fix diff highlighting
2 parents dc96d12 + ffab60b commit 68c5ebb

11 files changed

+691
-306
lines changed
 

‎extensions/void/package-lock.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎extensions/void/package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@
274274
"title": "Show Selection Lens"
275275
},
276276
{
277-
"command": "void.approveDiff",
277+
"command": "void.acceptDiff",
278278
"title": "Approve Diff"
279279
},
280280
{
281-
"command": "void.discardDiff",
281+
"command": "void.rejectDiff",
282282
"title": "Discard Diff"
283283
},
284284
{
@@ -357,6 +357,7 @@
357357
"devDependencies": {
358358
"@eslint/js": "^9.9.1",
359359
"@types/diff": "^5.2.2",
360+
"@types/diff-match-patch": "^1.0.36",
360361
"@types/jest": "^29.5.12",
361362
"@types/mocha": "^10.0.8",
362363
"@types/node": "^22.5.1",
@@ -385,6 +386,7 @@
385386
},
386387
"dependencies": {
387388
"@anthropic-ai/sdk": "^0.27.1",
389+
"diff-match-patch": "^1.0.5",
388390
"ollama": "^0.5.9",
389391
"openai": "^4.57.0",
390392
"diff": "^7.0.0"

‎extensions/void/src/ApprovalCodeLensProvider.ts

-186
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.