Skip to content

Commit e9e177d

Browse files
committed
Update all file path examples to use src/examples/hello.py for consistency
1 parent 6797c06 commit e9e177d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎packages/vscode/src/constants/edit-format-instructions.ts‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const intro = `Whenever showing a new, updated, renamed or deleted file, provide a brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/hello.py\`, ### Updated file: \`src/hello.py\`, ### Renamed file: \`src/hello.py\` (old) \`src/welcome.py\` (new), ### Deleted file: \`src/hello.py\`)`
1+
const intro = `Whenever showing a new, updated, renamed or deleted file, provide a brief explanation, then print path in a markdown heading (e.g. ### New file: \`src/examples/hello.py\`, ### Updated file: \`src/examples/hello.py\`, ### Renamed file: \`src/examples/hello.py\` (old) \`src/welcome.py\` (new), ### Deleted file: \`src/examples/hello.py\`)`
22

33
export const EDIT_FORMAT_INSTRUCTIONS_WHOLE = `${intro}, 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:
44
Updated the greeting text.
55
6-
### Updated file: \`src/hello.py\`
6+
### Updated file: \`src/examples/hello.py\`
77
88
\`\`\`python
99
GREETING = "Hello, World!"
@@ -15,7 +15,7 @@ def show_greeting():
1515
export const EDIT_FORMAT_INSTRUCTIONS_TRUNCATED = `${intro}, 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:
1616
Updated the greeting text.
1717
18-
### Updated file: \`src/hello.py\`
18+
### Updated file: \`src/examples/hello.py\`
1919
2020
\`\`\`python
2121
GREETING = "Hello, World!"
@@ -27,11 +27,11 @@ def show_greeting():
2727
export const EDIT_FORMAT_INSTRUCTIONS_DIFF = `${intro}, followed by a unified diff within a markdown code block. Example:
2828
Updated the greeting text.
2929
30-
### Updated file: \`src/hello.py\`
30+
### Updated file: \`src/examples/hello.py\`
3131
3232
\`\`\`diff
33-
--- a/src/hello.py
34-
+++ b/src/hello.py
33+
--- a/src/examples/hello.py
34+
+++ b/src/examples/hello.py
3535
@@ -1,4 +1,4 @@
3636
-GREETING = "Welcome everyone!"
3737
+GREETING = "Hello, World!"
@@ -43,7 +43,7 @@ Updated the greeting text.
4343
export const EDIT_FORMAT_INSTRUCTIONS_BEFORE_AFTER = `${intro}, followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict markers. Example:
4444
Updated the greeting text.
4545
46-
### Updated file: \`src/hello.py\`
46+
### Updated file: \`src/examples/hello.py\`
4747
4848
\`\`\`python
4949
<<<<<<< ORIGINAL

0 commit comments

Comments
 (0)