Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
harrybin opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request needs-triage needs to be reviewed

Comments

@harrybin
Copy link

harrybin commented Nov 19, 2024

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 harrybin added enhancement New feature or request needs-triage needs to be reviewed labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant