GitHub Copilot can now show suggestions for match code in a public repository

GitHub has released a private beta version of the GitHub Copilot code browsing feature to give developers this option. When code referencing is enabled, Copilot will not automatically block the matching code it generates, but instead will show it to the developer in the sidebar and let the developer decide what to do with it. Over time, this feature will also be implemented in the Copilot chat.

Image Credit : Github

GitHub previewed this feature last November, but it has clearly taken a long time to release.

GitHub CEO Thomas Dohmke told that Microsoft, GitHub, and most of his Copilot enterprise customers used the original locking feature, which he also said was a bit of a dull tool. said. “It gives you little control to decide for yourself whether you actually want to take that code and attribute it back to an open source license. It doesn’t actually let you discover that there might be a library that you could use instead of synthesizing code,” he told me. “It prevents you from exploring these libraries and submitting pull requests. You might be reproducing everything that already exists in some open source repo.”

Also, the code browsing feature tends to trigger more often when Copilot doesn’t have much context to operate. If Copilot can see a lot of context from the existing code you’re working with, it’s unlikely to generate hints that match public code. However, if you’re just starting out, your chances of generating matching code are greatly increased. You can read more detail about this topic from Github blog.

Yuuma



アプリ関連ニュース

お問い合わせはこちら

お問い合わせ・ご相談はお電話、またはお問い合わせフォームよりお受け付けいたしております。

tel. 06-6454-8833(平日 10:00~17:00)

お問い合わせフォーム