3.9 C
New York
Monday, March 3, 2025

Visible Studio provides help for code referencing of GitHub Copilot completions


Visible Studio provides help for code referencing of GitHub Copilot completionsVisible Studio provides help for code referencing of GitHub Copilot completions

Microsoft has introduced that Visible Studio now helps code referencing for GitHub Copilot completions.

Code referencing permits builders to confirm if the options coming from Copilot are primarily based on public code, which may doubtlessly result in open-source licensing points relying on what the developer is utilizing the code for. 

“By integrating code referencing into GitHub Copilot, we’re fostering a tradition of data sharing and transparency. This function not solely empowers particular person builders but in addition helps bigger groups in navigating the complexities of public code with ease,” Simona Liao, product supervisor at Microsoft, wrote in a weblog submit

When a developer accepts a suggestion that matches code present in a public GitHub repository, they are going to obtain a notification that shows the match, together with details about the license kind and a hyperlink to the GitHub repository it was present in.

The corporate famous that lower than 1% of Copilot completions (maybe greater if working in open-source repositories) match public code, so builders is not going to see code references for almost all of their accepted completions. 

In response to Microsoft, code referencing solely runs on accepted options from Copilot, not on code a developer has written.

This function was beforehand launched in Copilot Chat, and now it’s accessible throughout Visible Studio itself. 

“This new performance affords builders higher transparency on their code completions (or “grey textual content”) by offering detailed data on any public code matches discovered. Previous to this alteration, Copilot completions with public code match had been mechanically blocked. Now, builders have the selection to entry extra code completions and obtain enough details about any public code matches, enabling them to make knowledgeable choices,” Liao wrote. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles