Skip to content

Commit 55deb77

Browse files
committed
Clarify ellipsis comment examples to include language-specific syntax for truncated file contents
1 parent c863b81 commit 55deb77

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 function bodies with ellipsis comments, e.g. "# ...". Example:
15+
export const EDIT_FORMAT_INSTRUCTIONS_TRUNCATED = `${intro}, followed by a markdown code block with file's contents. As a space saving measure, replace all unchanged function bodies, paragraphs, etc. with valid ellipsis comments ("# ...", "// ...", "<!-- ... -->", etc.). Example:
1616
Updated the greeting text.
1717
1818
### Updated file: \`src/examples/hello.py\`

0 commit comments

Comments
 (0)