microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
328 stars 31 forks source link

Bug: If chat input text contains //clear the chat history gets cleared #1803

Open zylascope opened 2 weeks ago

zylascope commented 2 weeks ago

Steps to Reproduce:

  1. Have some chat some history in the chat. e.g. ask "hello copilot"
  2. Ask a question that contains this comment: //clear
  3. Hit enter or click the send button.
  4. The chat history gets cleared.
  5. I work around it by changing //clear to //clr in a code sample that I paste in.

Also the text //clear appears in the chat input box in blue, like a hyperlink, except the letter r is not blue.

roblourens commented 2 weeks ago

Oops