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

Code referencing for code completion in Visual Studio Code #823

Closed
github-product-roadmap opened this issue Sep 6, 2023 · 1 comment
Closed
Labels
all Product SKU: All beta Feature phase: Beta cloud Available on Cloud copilot Feature: Github Copilot shipped Shipped

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

When a user accepts a code snippet that has a match to public code, we will now notify them via a pop-up message and an alert in their Visual Studio Code status bar. Upon clicking the notification, they'll be able to review the sets of repos where matching code exists as well as an aggregate count of the associated licenses.

Intended Outcome

Last year, we introduced a GitHub Copilot feature that allows developers to silently block suggestions greater than 150 characters that match public code. But the world’s developers have a diverse perspective of wants and needs when they’re building. While simply blocking public code can be useful, a number of developers told us they actually want to see code matches. Some want to learn from other’s code; some may want to take a package dependency rather than introduce new business logic; still others want to give or receive credit for similar work. With this feature, we hope to enable them to review extra information about the match and make the decision best fit for them.

How will it work?

If GitHub Copilot makes a suggestion matching public code, it’ll share a list of the repositories where that code can be found, and their licenses – all right in the editor. If there’s a match, a pop-up window appears that shows you all of the code matches, what their repository licenses are, and how many repositories—including repositories without licenses—that code appears in, as well as links to those repositories.

@github github locked and limited conversation to collaborators Sep 6, 2023
@github-product-roadmap github-product-roadmap added all Product SKU: All beta Feature phase: Beta cloud Available on Cloud copilot Feature: Github Copilot labels Sep 6, 2023
@ankneis ankneis added the shipped Shipped label Oct 12, 2023
@ankneis
Copy link
Collaborator

ankneis commented Oct 12, 2023

@ankneis ankneis closed this as completed Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all Product SKU: All beta Feature phase: Beta cloud Available on Cloud copilot Feature: Github Copilot shipped Shipped
Projects
Status: Q3 2023 – Jul-Sep
Development

No branches or pull requests

2 participants