Skip to content

Commit 6e21cad

Browse files
committed
Clarify ellipsis replacement instructions to specify function bodies only
1 parent 90c95bf commit 6e21cad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def show_greeting():
1212
print(GREETING)
1313
\`\`\``
1414

15-
export const EDIT_FORMAT_INSTRUCTIONS_TRUNCATED = `${intro}, followed by a markdown code block with file's contents. As a space saving measure, replace unchanged containerized content like function bodies, paragraphs, etc., with ellipsis comments (\`# ...\`, \`// ...\`, \`<!-- ... -->\`, \`{/* ... */}\`, etc.). Example:
15+
export const EDIT_FORMAT_INSTRUCTIONS_TRUNCATED = `${intro}, followed by a markdown code block with file's contents. As a space saving measure, unchanged function bodies (code inside {}) should be replaced with ellipsis comments. Example:
1616
Updated the greeting text.
1717
1818
### Updated file: \`src/examples/hello.py\`

0 commit comments

Comments
 (0)