gh-copilot
gh-copilot copied to clipboard
[FEAT]: use code referencing when suggestions matching public code enabled and blocks/aborts the codegeneration
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.jsxalways causes "Sorry, the response matched public code so it was blocked. Please rephrase your prompt...."