Skip to content

Commit 318459a

Browse files
committed
Update the example text for the diff format instructions in the editFormatInstructions setting
1 parent 84a4347 commit 318459a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/vscode/package.json‎

Lines changed: 1 addition & 1 deletion
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: \n[brief explanation]\n```diff\n--- a/file.py\n+++ b/file.py\n@@ -2,1 +2,1 @@\n-old_value = 10\n+new_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: \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```"
584584
},
585585
"properties": {
586586
"whole": {

0 commit comments

Comments
 (0)