\`Please check DevChat.ask_code settings\` before enabling the feature, because once indexing has been started, changing the settings will not affect the process anymore, unless if you terminate it and re-index.
Toenable,youcanenter\`DevChat:Start AskCode Index\` in the Command Palette or click on the button to start indexing now.
UsethisDevChatprompttorequestcodewriting.Pleaseinputyourspecificrequirementsandsupplytheappropriatecontextforimplementation.Youcanselecttherelevantcodeorfilesandright-clickto"Add to DevChat".Ifyoufindthecontextisstillinsufficient,youcanenhancemyunderstandingofyourcodebyprovidingclass/functiondefinitionsoftheselectedcode.Todothis,clickthe"+"buttonfortheselectedcodeandchoose"symbol definitions".Pleasenote,itmaytakeafewsecondsforthisinformationtoappearinDevChat.
`
}),
]);
break;
case'#commit_message':
chat.addMessages([
Message.create({
type:'user',
message:'Explain /commit_message'
}),
Message.create({
type:'bot',
message:`***/commit_message***
UsethisDevChatprompttorequestacommitmessage.Generally,youdon’tneedtotypeanythingelse,butpleasegivemetheoutputof\`git diff\`. Don't worry, you don't need to manually execute the command and copy & paste the output. Simply click the "+" button and select \`git diff —cached\` to include only the staged changes, or \`git diff HEAD\` to include all changes.
`
}),
]);
break;
case'#release_note':
chat.addMessages([
Message.create({
type:'user',
message:'Explain /release_note'
}),
Message.create({
type:'bot',
message:`***/release_note***
Generateaprofessionallywrittenandformattedreleasenoteinmarkdownwiththisprompt.Ijustneedsomebasicinformationaboutthecommitsfortherelease.Addthistothecontextbyclickingthe"+"buttonandselecting\`git_log_releasenote\`. If the scope of commits differs from the default command, you can also select <custom command> and input a command line such as \`git log 579398b^..HEAD --pretty=format:"%h - %B"\` to include the commit 579398b (inclusive) up to the latest.