You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/parsers/multiple-files-parser.ts
Copy file name to clipboardExpand all lines: packages/vscode/src/commands/apply-chat-response-command/utils/clipboard-parser/test-cases/path-above-code-block/path-above-code-block.txt
Copy file name to clipboardExpand all lines: packages/vscode/src/constants/edit-format-instructions.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
exportconstEDIT_FORMAT_INSTRUCTIONS_WHOLE=`Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/counter.py\`, ### Updated file: \`src/counter.py\`, ### Deleted file: \`src/counter.py\`), 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. Example:
1
+
exportconstEDIT_FORMAT_INSTRUCTIONS_WHOLE=`Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/hello.py\`, ### Updated file: \`src/hello.py\`, ### Deleted file: \`src/hello.py\`, ### Renamed file: \`src/hello.py\` (new) \`src/welcome.py\` (old)), 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. Example:
2
2
Updated the greeting text.
3
3
4
4
### Updated file: \`src/hello.py\`
@@ -10,7 +10,7 @@ def show_greeting():
10
10
print(GREETING)
11
11
\`\`\``
12
12
13
-
exportconstEDIT_FORMAT_INSTRUCTIONS_TRUNCATED=`Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/counter.py\`, ### Updated file: \`src/counter.py\`, ### Deleted file: \`src/counter.py\`), followed by a markdown code block with truncated contents—as a space saving measure unchanged parts should be hidden behind ellipsis comments, e.g. "# ... ". Example:
13
+
exportconstEDIT_FORMAT_INSTRUCTIONS_TRUNCATED=`Whenever showing a new or updated file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/hello.py\`, ### Updated file: \`src/hello.py\`, ### Deleted file: \`src/hello.py\`, ### Renamed file: \`src/hello.py\` (new) \`src/welcome.py\` (old)), followed by a markdown code block with truncated contents—as a space saving measure unchanged parts should be hidden behind ellipsis comments, e.g. "# ... ". Example:
14
14
Updated the greeting text.
15
15
16
16
### Updated file: \`src/hello.py\`
@@ -22,7 +22,7 @@ def show_greeting():
22
22
# ... the function remains unchanged
23
23
\`\`\``
24
24
25
-
exportconstEDIT_FORMAT_INSTRUCTIONS_DIFF=`Whenever showing a new, updated, renamed or deleted file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/counter.py\`, ### Updated file: \`src/counter.py\`, ### Deleted file: \`src/counter.py\`), followed by a unified diff within a markdown code block. Example:
25
+
exportconstEDIT_FORMAT_INSTRUCTIONS_DIFF=`Whenever showing a new, updated, renamed or deleted file, provide brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/hello.py\`, ### Updated file: \`src/hello.py\`, ### Deleted file: \`src/hello.py\`, ### Renamed file: \`src/hello.py\` (new) \`src/welcome.py\` (old)), followed by a unified diff within a markdown code block. Example:
0 commit comments