Skip to content
OnMSFT.com
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
Menu
  • Home
  • About
  • Contact
  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Edge
  • Teams
  • Gaming
  1. Home
  2. News
  3. GitHub Copilot now alerts developers of matching codes in public repositories

GitHub Copilot now alerts developers of matching codes in public repositories

OnMSFT Staff OnMSFT Staff
August 4, 2023
2 min read

GitHub has launched the code referencing feature on GitHub Copilot. The tool is presently in private beta testing and is aimed at providing developers with more control over the code it generates, Tech Crunch reported.

First previewed in November last year, the feature has taken a while to perfect and release. The code referencing attribute does not block any matching code it conjures up, instead displaying it in a sidebar for the developers’ discretion.

GitHub CEO, Thomas Dohmke, emphasizes that the original blocking feature, while effective, was comparatively a rough instrument. It did not allow developers the flexibility to decide whether to take the generated code and attribute it to an open-source license or find a library that could be used rather than generating new code.

“It prevents you from exploring these libraries and submitting pull requests. You might be reproducing everything that already exists in some open-source repo.” Dohmke remarked.

The CEO further mentioned that this especially applies to routine computer algorithms, such as sorting, which are frequently found in numerous locations. With this feature, developers have the liberty to either reject the code, use it directly, or task Copilot to revise the code, ensuring it bears no resemblance to the original code.

At present, the feature does not allow viewing results that comply with certain licenses only. However, the GitHub team is reaching out for feedback to discern if this is a requested feature.

“We’re letting people understand the match, and then go on to explore or make the correct decision,” said Dohmke, indicating how the feature fills the void that the original solution created.

This approach tends to be more active when Copilot lacks enough context to proceed. If the tool has a wide context from the current code being worked upon, it’s unlikely to suggest a matching public code. However, while starting afresh, the feature is more prone to generating matching codes. The matched code snippets are listed in the order discovered by the search engine.

The code-referring feature is also expected to arrive on Copilot Chat over time as part of GitHub’s continuous drive for innovation and convenience.

Via Tech Crunch

Related

Share this article:
Previous Article Windows Copilot upcoming features unearthed in latest leak Next Article Recent report reveals why AI progress shows no signs of decelerating

Related Articles

Microsoft teases Xbox Helix, a powerful next-gen console with PC game support

Microsoft teases Xbox Helix, a powerful next-gen console with PC game support

March 5, 2026

Google flags battery-draining apps with warning labels on Play Store

March 5, 2026

Chrome May Soon Open Your Webcam for Photo Uploads on Desktop

March 5, 2026

Leave a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Microsoft teases Xbox Helix, a powerful next-gen console with PC game support
  • Google flags battery-draining apps with warning labels on Play Store
  • Chrome May Soon Open Your Webcam for Photo Uploads on Desktop
  • Chrome Tests Reading Mode for Text-Heavy PDFs
  • YouTube App Shows Ads That Won’t Close During Fullscreen Videos

Recent Comments

No comments to show.
OnMSFT.com

OnMSFT.com covers Microsoft news, reviews, and how-to guides. Formerly known as WinBeta, we have been your source for Microsoft news since 1998.

Categories

  • Windows
  • Surface
  • Xbox
  • How-To
  • OnPodcast
  • Gaming
  • Edge
  • Teams

Recent Posts

  • Microsoft teases Xbox Helix, a powerful next-gen console with PC game support
  • Google flags battery-draining apps with warning labels on Play Store
  • Chrome May Soon Open Your Webcam for Photo Uploads on Desktop
  • Chrome Tests Reading Mode for Text-Heavy PDFs
  • YouTube App Shows Ads That Won’t Close During Fullscreen Videos

Quick Links

  • About OnMSFT.com
  • Contact OnMSFT
  • Join Our Team
  • Privacy Policy
© 2010–2026 OnMSFT.com LLC. All rights reserved.
About OnMSFT.comContact OnMSFTPrivacy Policy