Skip to content

Commit 1aa9dc1

Browse files
committed
Update the example text for the diff format instructions within the codeWebChat.editFormatInstructions configuration
1 parent 17540ef commit 1aa9dc1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
"default": {
581581
"whole": "Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### File: `src/index.ts`), followed by a markdown code block with full contents—as I have a disability which means I can't type and need to be able to just copy and paste.",
582582
"truncated": "Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### File: `src/index.ts`), followed by a markdown code block with truncated contents—as a space saving measure (unchanged parts should be hidden behind ellipsis comments, e.g. \"// ...\").",
583-
"diff": "Whenever showing a new or updated file, provide brief explanation and print the Unified Diff within a markdown code block. Example: \nValue has been changed from 10 to 20.\n```diff\n--- a/file.py\n+++ b/file.py\n@@ -2,1 +2,1 @@\n-value = 10\n+value = 20\n```"
583+
"diff": "Whenever showing a new or updated file, provide brief explanation and print the Unified Diff within a markdown code block. Example: \nThe count variable has been incremented.\n```diff\n--- a/file.py\n+++ b/file.py\n@@ -2,1 +2,1 @@\n-count = 10\n+count = 20\n```"
584584
},
585585
"properties": {
586586
"whole": {
@@ -1768,4 +1768,4 @@
17681768
"utf-8-validate": "^6.0.5",
17691769
"ws": "^8.18.3"
17701770
}
1771-
}
1771+
}

0 commit comments

Comments
 (0)