Skip to content

Commit 4d10f01

Browse files
committed
Update truncated edit instructions to include additional ellipsis comment examples for different languages
1 parent ee8b183 commit 4d10f01

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 all unchanged function bodies, paragraphs, etc. with valid 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, replace unchanged containerized content like function bodies, paragraphs, etc., with ellipsis comments (\`# ...\`, \`// ...\`, \`<!-- ... -->\`, \`{/* ... */}\`, etc.). Example:
1616
Updated the greeting text.
1717
1818
### Updated file: \`src/examples/hello.py\`

0 commit comments

Comments
 (0)