You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Edit a selected text with a command - Ctrl+Shift+e for entering prompt, Tab for accepting the change.
* Code edits - reject the suggestion by pressing Escape
* Prompt for text edit is improved, context menu item for editing selected text added.
* Remove the context from the edit prompt as the output includes part of it; In the diff window show 25 lines before and after the change to facilitate comparison.
---------
Co-authored-by: igardev <[email protected]>
if(chunksToSend.length>0)extraCont="Here are pieces of code from different files of the project: \n"+chunksToSend.reduce((accumulator,currentValue)=>accumulator+"\nFile Name: "+currentValue.filename+"\nText:\n"+currentValue.text+"\n\n","");
leteditTextTemplate=`${CHUNKS_PLACEHOLDER}\n\nModify the following original code according to the instructions. Output only the modified code. No explanations.\n\ninstructions:\n${INSTRUCTIONS_PLACEHOLDER}\n\noriginal code:\n${ORIGINAL_TEXT_PLACEHOLDER}\n\nmodified code:`
0 commit comments