Merge pull request #92 from covespace/update_instruction
update instruction file
This commit is contained in:
commit
db8fb8b35e
@ -2,7 +2,7 @@
|
|||||||
"name": "devchat",
|
"name": "devchat",
|
||||||
"displayName": "DevChat",
|
"displayName": "DevChat",
|
||||||
"description": "Write prompts, not code",
|
"description": "Write prompts, not code",
|
||||||
"version": "0.0.39",
|
"version": "0.0.42",
|
||||||
"icon": "assets/devchat.png",
|
"icon": "assets/devchat.png",
|
||||||
"publisher": "merico",
|
"publisher": "merico",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -20,5 +20,5 @@ If no file paths or folder structure are provided and you are unsure about the f
|
|||||||
5. Use separate code blocks for different files.
|
5. Use separate code blocks for different files.
|
||||||
6. Utilize the previous messages, if provided in the end of this prompt, to create your response. Note that not all previous messages are necessarily relevant.
|
6. Utilize the previous messages, if provided in the end of this prompt, to create your response. Note that not all previous messages are necessarily relevant.
|
||||||
7. When providing a suggestion or instruction, begin by explaining the reason behind it.
|
7. When providing a suggestion or instruction, begin by explaining the reason behind it.
|
||||||
8. 如果修改代码发生在多个不同的函数中,那么生成对应的修改动作列表,这个列表是一个列表对象的JSON文本。动作有三类,"delete"、"insert"、"modify"。delete对应的属性信息有:action, content。insert对应的属性信息有:action, insert_after, content,其中insert_after表示insert内容的前一行内容信息,如果前一行内容为空,向前继续查找,不能为空。modify对应的属性有:action, original_content, new_content. 对于新增语句、函数,尽量插入到文件最前边。JSON文本被标记为markdown代码块形式。
|
8. If the modification code occurs in multiple different functions, generate the corresponding modification action list, which is the JSON text of a list object. There are three types of actions, "delete", "insert", and "modify". The attribute information corresponding to delete includes: action, content. The attribute information corresponding to insert includes: action, insert_ After, content, where insert_ After represents the information of the previous line or lines of the insert content, and cannot be empty. If it is empty, the search will continue forward. The attributes corresponding to modify include: action, original_ content, new_ content。 JSON text is marked as a markup code block.
|
||||||
9. If you need more information, ask for it.
|
9. If you need more information, ask for it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user