About Copilot code referencing in JetBrains IDEs
퍼블릭 코드와 일치하는 제안을 허용한 경우 GitHub Copilot에서 제안과 일치하는 코드의 세부 정보를 제공할 수 있습니다. 다음과 같은 상황에 발생합니다.
- 편집기에서 코드 완료 제안을 수락하는 경우.
- Copilot 채팅의 응답에 일치하는 코드가 포함된 경우.
Code referencing for Copilot code completion
공용 GitHub 리포지토리의 코드와 일치하는 코드 완성 제안을 수락하면 일치하는 코드에 대한 정보가 기록됩니다. 로그 항목에는 일치하는 코드가 포함된 파일의 URL과 해당 코드에 적용되는 라이선스 이름이 포함됩니다(있는 경우). 이렇게 하면 이러한 참조를 검토하고 진행 방법을 결정할 수 있습니다. 예를 들어 사용할 특성 또는 프로젝트에서 이 코드를 제거할지 여부를 결정할 수 있습니다.
참고 항목
- 코드 완성을 위한 코드 참조는 수락된 Copilot 제안과 일치하는 경우에만 발생합니다. 작성한 코드 및 변경한 Copilot 제안은 공용 코드와 일치하는 항목에 대해 검사하지 않습니다.
- 일반적으로 공용 코드와 일치하는 항목은 Copilot 제안 중 1% 미만으로 발생하므로 많은 제안에 대한 코드 참조를 볼 수 없습니다.
Code referencing for Copilot 채팅
Copilot 채팅에서 퍼블릭 GitHub 리포지토리의 코드와 일치하는 코드가 포함된 응답을 제공하는 경우, 편집기에서 일치하는 코드의 세부 정보를 표시할 수 있는 링크와 함께 응답 끝에 표시됩니다.
About Copilot code referencing in Visual Studio Code
퍼블릭 코드와 일치하는 제안을 허용한 경우 GitHub Copilot에서 제안과 일치하는 코드의 세부 정보를 제공할 수 있습니다. 다음과 같은 상황에 발생합니다.
- 편집기에서 코드 완료 제안을 수락하는 경우.
- Copilot 채팅의 응답에 일치하는 코드가 포함된 경우.
Code referencing for Copilot code completion
공용 GitHub 리포지토리의 코드와 일치하는 코드 완성 제안을 수락하면 일치하는 코드에 대한 정보가 기록됩니다. 로그 항목에는 일치하는 코드가 포함된 파일의 URL과 해당 코드에 적용되는 라이선스 이름이 포함됩니다(있는 경우). 이렇게 하면 이러한 참조를 검토하고 진행 방법을 결정할 수 있습니다. 예를 들어 사용할 특성 또는 프로젝트에서 이 코드를 제거할지 여부를 결정할 수 있습니다.
참고 항목
- 코드 완성을 위한 코드 참조는 수락된 Copilot 제안과 일치하는 경우에만 발생합니다. 작성한 코드 및 변경한 Copilot 제안은 공용 코드와 일치하는 항목에 대해 검사하지 않습니다.
- 일반적으로 공용 코드와 일치하는 항목은 Copilot 제안 중 1% 미만으로 발생하므로 많은 제안에 대한 코드 참조를 볼 수 없습니다.
Code referencing for Copilot 채팅
Copilot 채팅에서 퍼블릭 GitHub 리포지토리의 코드와 일치하는 코드가 포함된 응답을 제공하는 경우, 편집기에서 일치하는 코드의 세부 정보를 표시할 수 있는 링크와 함께 응답 끝에 표시됩니다.
About Copilot code referencing on GitHub.com
If you, or your organization, have allowed suggestions that match public code, then whenever a response from Copilot 채팅 includes matching code, details of the matches will be included in the response.
참고 항목
Typically, matches to public code occur infrequently, so you should not expect to see code references in many Copilot 채팅 responses.
About Copilot code referencing in Visual Studio
퍼블릭 코드와 일치하는 제안을 허용한 경우 GitHub Copilot에서 제안과 일치하는 코드의 세부 정보를 제공할 수 있습니다. 다음과 같은 상황에 발생합니다.
- 편집기에서 코드 완료 제안을 수락하는 경우.
- Copilot 채팅의 응답에 일치하는 코드가 포함된 경우.
Code referencing for Copilot code completion
공용 GitHub 리포지토리의 코드와 일치하는 코드 완성 제안을 수락하면 일치하는 코드에 대한 정보가 기록됩니다. 로그 항목에는 일치하는 코드가 포함된 파일의 URL과 해당 코드에 적용되는 라이선스 이름이 포함됩니다(있는 경우). 이렇게 하면 이러한 참조를 검토하고 진행 방법을 결정할 수 있습니다. 예를 들어 사용할 특성 또는 프로젝트에서 이 코드를 제거할지 여부를 결정할 수 있습니다.
참고 항목
- 코드 완성을 위한 코드 참조는 수락된 Copilot 제안과 일치하는 경우에만 발생합니다. 작성한 코드 및 변경한 Copilot 제안은 공용 코드와 일치하는 항목에 대해 검사하지 않습니다.
- 일반적으로 공용 코드와 일치하는 항목은 Copilot 제안 중 1% 미만으로 발생하므로 많은 제안에 대한 코드 참조를 볼 수 없습니다.
Code referencing for Copilot 채팅
When Copilot 채팅 provides a response that includes code that matches code in a public GitHub repository, this is indicated below the suggested code, with a link to display details of the matched code in the output log.
How code referencing finds matching code
Copilot code referencing compares potential code suggestions and the surrounding code of about 150 characters against an index of all public repositories on GitHub.com.
Code in private GitHub repositories, or code outside of GitHub, is not included in the search process.
Limitations
The search index is refreshed every few months. As a result, newly committed code, and code from public repositories deleted before the index was created, may not be included in the search. For the same reason, the search may return matches to code that has been deleted or moved since the index was created.
References to matching code are currently available in JetBrains IDEs, Visual Studio, Visual Studio Code, and on the GitHub website.