Skip to content

Commit dc027be

Browse files
committed
Clarify file path comment placement within edit format instructions
1 parent ea6d0c2 commit dc027be

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/chatbot-initialization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ Additional instructions are appended to your prompt in "General" mode, instructi
6565

6666
`codeWebChat.editFormatInstructionsTruncated`
6767

68-
> Whenever proposing a file use the markdown code block syntax and always add file path in the first line comment. Use ellipsis comments, e.g. "// ...", when appropriate.
68+
> Whenever proposing a file use the markdown code block syntax and always add a file path in a comment on the top of the code block. Use ellipsis comments, e.g. "// ...", when appropriate.
6969
7070
### Whole
7171

7272
`codeWebChat.editFormatInstructionsWhole`
7373

74-
> Whenever proposing a file use the markdown code block syntax and always add file path in the first line comment. Please show me the full code of the changed files, I have a disability which means I can't type and need to be able to copy and paste the full code.
74+
> Whenever proposing a file use the markdown code block syntax and always add a file path in a comment on the top of the code block. Please show me the full code of the changed files, I have a disability which means I can't type and need to be able to copy and paste the full code.
7575
7676
### Diff
7777

packages/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@
559559
"scope": "resource",
560560
"description": "Style of generated code blocks in \"Edit context\" mode.",
561561
"default": {
562-
"whole": "Whenever proposing a file use the markdown code block syntax and always add file path in the first line comment. Please show me the full code of the changed files, I have a disability which means I can't type and need to be able to copy and paste the full code. Don't use XML for files.",
563-
"truncated": "Whenever proposing a file use the markdown code block syntax and always add file path in the first line comment. Use ellipsis comments, e.g. \"// ...\", when appropriate. Don't use XML for files.",
562+
"whole": "Whenever proposing a file use the markdown code block syntax and always add a file path in a comment on the top of the code block. Please show me the full code of the changed files, I have a disability which means I can't type and need to be able to copy and paste the full code. Don't use XML for files.",
563+
"truncated": "Whenever proposing a file use the markdown code block syntax and always add a file path in a comment on the top of the code block. Use ellipsis comments, e.g. \"// ...\", when appropriate. Don't use XML for files.",
564564
"diff": "Whenever proposing a file use the markdown code block syntax. Each code block should be a diff patch. Don't use XML for files."
565565
},
566566
"properties": {

0 commit comments

Comments
 (0)