Commit Graph

10 Commits

Author SHA1 Message Date
Connor Peet ddf79de775 edits: avoid replacing explicit tabs in tex files (#2608)
* chore: disable prompt tracing by default, add a setting

Closes https://github.com/microsoft/vscode/issues/280972

* edits: avoid replacing explicit tabs in tex files

Closes https://github.com/microsoft/vscode/issues/261957
2025-12-16 18:37:00 +00:00
Matt Bierner 3c8134184b Enable no-unexternalized-strings in repo (#2448)
Enables the same `no-unexternalized-strings` with have in `vscode` in this repo. This make sure we have a more consistent style across repos and when generating edits
2025-12-05 18:45:12 +00:00
dileepyavan c84c205dea indentation issue fix for apply_patch tool patches (#1329) 2025-10-16 23:28:01 +00:00
Connor Peet a88ab26dd2 edits: include context in ap indent detection (#716)
Fixes apply_patch using incorrect indentation in some cases.

Closes https://github.com/microsoft/vscode/issues/262549
2025-08-21 23:39:31 +00:00
Connor Peet 4b21f10734 tools: remove old experiments (#244)
Remove a trio of experiments that were successful and have been rolled
out (Claude exclusive string replace, apply_patch, and apply_patch's
indentation normalization).
2025-07-14 23:10:19 +00:00
Connor Peet 0a683953b1 tools: normalize explicit newlines in apply_patch (#147)
Fixes https://github.com/microsoft/vscode/issues/253960
2025-07-12 05:36:05 +00:00
Connor Peet 27f90f9661 tools: always replace explicit tab in apply_patch insertions (#223)
Closes https://github.com/microsoft/vscode/issues/254783
2025-07-11 21:27:55 +00:00
Connor Peet d3c37fe09a edits: try to normalize indentation in apply_patch (#66)
* edits: try to normalize indentation in apply_patch

This makes a change such that the apply_patch matcher will add
indentation in the patch such that the indentation in the first line
of context given in the patch matches that which was found in the file.
This fixes 4.1's habit of giving an entirely outdented patch.

You might think we should instead run save participants to use the
formatter for the language. This is fine for JS and friends but not for
languages with syntatic whitespace like Python or YAML, and this
approach seems to work well in my local testing.

swebench data coming in a few hours which'll inform mergability.
swebench is Python which should be a good acid test for this.

* exp controllable

* update tests
2025-07-01 17:33:26 +00:00
Connor Peet 5e7c3a38c1 edits: replace apply_patch escaped tabs through common comments (#53)
Fixes https://github.com/microsoft/vscode-copilot/issues/19071
2025-06-30 17:04:03 +00:00
kieferrm 333d9a4053 Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-27 11:35:20 +02:00