Skip to content

Commit d9f64d2

Browse files
committed
Update renamed file examples to use math_utils instead of math_tools consistently
1 parent d1d57b6 commit d9f64d2

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ def show_greeting():
1414
1515
### Deleted file: \`src/examples/weekdays.py\`
1616
17-
### Renamed file: \`src/examples/math_tools.py\` (old) \`src/examples/calculator.py\` (new)
18-
`
17+
### Renamed file: \`src/examples/math_utils.py\` (old) \`src/examples/calculator.py\` (new)`
1918

2019
export const EDIT_FORMAT_INSTRUCTIONS_TRUNCATED = `${intro}, followed by a markdown code block with file's contents. As a space saving measure, truncate blocks like unchanged function bodies (code inside {}) by replacing with ellipsis comments. Example:
2120
Updated the greeting text.
@@ -55,8 +54,7 @@ Greet user saying "Hello, World!", for a duration of 5 seconds.
5554
5655
### Deleted file: \`src/examples/weekdays.js\`
5756
58-
### Renamed file: \`src/examples/math-tools.js\` (old) \`src/examples/calculator.js\` (new)
59-
`
57+
### Renamed file: \`src/examples/math-tools.js\` (old) \`src/examples/calculator.js\` (new)`
6058

6159
export const EDIT_FORMAT_INSTRUCTIONS_DIFF = `${intro}, followed by a unified diff within a markdown code block. Example:
6260
Updated the greeting text.
@@ -88,8 +86,7 @@ def subtract(a, b):
8886
8987
### Deleted file: \`src/examples/weekdays.py\`
9088
91-
### Renamed file: \`src/examples/math_tools.py\` (old) \`src/examples/calculator.py\` (new)
92-
`
89+
### Renamed file: \`src/examples/math_utils.py\` (old) \`src/examples/calculator.py\` (new)`
9390

9491
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:
9592
Changed greeting to wishes.
@@ -112,4 +109,5 @@ WISHES = "Have a nice day!"
112109
\`\`\`
113110
114111
### Deleted file: \`src/examples/weekdays.py\`
115-
`
112+
113+
### Renamed file: \`src/examples/math_utils.py\` (old) \`src/examples/calculator.py\` (new)`

0 commit comments

Comments
 (0)