continue-custom/core
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
..
.vscode
autocomplete Merge pull request #4163 from owtaylor/granite-3-detection 2025-02-21 10:05:24 -08:00
commands load prompts to slash commands correctly 2025-01-23 08:40:26 -08:00
config Merge pull request #4115 from ajshedivy/vscode-api/update-submenu-items 2025-02-21 08:28:05 -08:00
context fix test by waiting for config handler to load 2025-02-19 12:20:14 -08:00
continueServer remove legacy config.js 2025-01-24 20:45:07 -08:00
control-plane add ability to use staging environment in vscode 2025-02-13 22:19:39 -08:00
deploy clean up URLs 2024-10-15 12:00:05 -07:00
diff reapplyWithMyersDiff(): don't skip trailing blank lines 2025-02-25 15:36:40 -05:00
edit allow customized apply prompt in VS Code 2025-02-10 19:14:34 -08:00
indexing Merge pull request #4109 from LLukas22/main 2025-02-21 10:14:04 -08:00
llm Merge pull request #4337 from vineye25/llm-providers/ncompass 2025-02-25 12:09:11 -08:00
promptFiles handle git diff errors and logic 2025-02-05 18:51:59 -08:00
protocol ensure loading state is used, deduplicate some logic 2025-02-19 11:07:47 -08:00
tag-qry
test fix tsc errors 2025-02-18 15:46:12 -08:00
tools improvements to tool call display 2025-02-05 22:25:22 -08:00
util Update treeSitter.ts 2025-02-19 01:06:02 +00:00
vendor 🐛 chore: update generation.d.ts 2024-10-03 15:57:07 +09:00
.eslintrc.json improv: linting 2024-10-22 00:18:46 +07:00
.gitignore gitignore updates 2024-12-05 16:14:11 -08:00
.npmignore
core.ts Merge pull request #4115 from ajshedivy/vscode-api/update-submenu-items 2025-02-21 08:28:05 -08:00
index.d.ts Merge pull request #4161 from ferenci84/diff_cache 2025-02-16 21:31:39 -08:00
jest.config.js fix tests 2024-12-11 08:41:58 -08:00
package-lock.json reapplyWithMyersDiff(): don't skip trailing blank lines 2025-02-25 15:36:40 -05:00
package.json reapplyWithMyersDiff(): don't skip trailing blank lines 2025-02-25 15:36:40 -05:00
tsconfig.json Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
tsconfig.npm.json