gh-copilot icon indicating copy to clipboard operation
gh-copilot copied to clipboard

[FEAT]: use code referencing when suggestions matching public code enabled and blocks/aborts the codegeneration

Open harrybin opened this issue 1 year ago • 0 comments

When working on a fork of public repositories and start modifying the code using copilot suggestions those a revery ofthen blocked because of matching public code. When this (the block) happens the source code reference should be shown. Then the user can have a look and decide himself to manaully copy or simply use the code as some kind of template.

Reproduction:

  • Fork: todo-react
  • tell copilot edit to turn the project into a TypeScript project (add all *.jsx files) ==> copilot starts transforming, but the Todo.jsx always causes "Sorry, the response matched public code so it was blocked. Please rephrase your prompt...."

harrybin avatar Nov 19 '24 09:11 harrybin