코드 맞춤설정 개요
컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Gemini Code Assist Enterprise의 기능인 코드 맞춤설정을 사용하면 Gemini Code Assist Enterprise에서 조직의 비공개 저장소를 기반으로 하며 조직의 코딩 스타일에 맞게 조정된 코드 추천을 받을 수 있습니다.
코드 맞춤설정을 사용하면 다음 다이어그램과 같이 Gemini Code Assist Enterprise에서 비공개 저장소의 코드를 분석하고 비공개 색인에 저장하여 해당 코드에 액세스할 수 있습니다.
코딩하는 동안 Gemini Code Assist는 비공개 색인에서 작성하려는 코드와 유사한 코드를 검색합니다. 그런 다음 코드 프롬프트에 관련 일치 결과를 포함하고 이러한 일치 결과를 Gemini Code Assist 추천 서비스로 전송합니다. 코드 맞춤설정은 코드베이스의 색인을 24시간마다 다시 생성하여 코드 추천이 최신 상태로 유지되는지 확인하여 추천을 최신 상태로 유지합니다. Gemini Code Assist에서 생성된 코드를 자동으로 반환합니다.
검색을 현재 폴더와 IDE에서 열려 있는 탭의 파일로 제한하는 전체 코드베이스 인식 기능과 달리 코드 맞춤설정은 색인의 모든 저장소를 검색합니다. 코드 맞춤설정이 설정되면 코드 완성 기능과 코드 생성 기능의 일부로 작동합니다.
Gemini Code Assist와 코드 맞춤설정 모두 관리형 서비스입니다. 월별 사용 가능한 라이선스 수에 따라 사용량에 대한 라이선스를 구매합니다.
비공개 코드 액세스 및 스토리지 보호
Google은 다음과 같은 여러 가지 방법으로 저장된 비공개 코드 보안을 강화합니다.
- Google에서는 전용 싱글 테넌트 환경에 코드 색인을 생성하고 코드를 저장합니다.
- 관리 액세스 제어를 사용하면 Google 직원이 근거와 명시적 승인(원하는 경우) 없이 사용자 콘텐츠에 액세스하지 못하도록 할 수 있습니다.
- Gemini 모델은 비공개 소스 코드를 학습하지 않습니다.
- 결과는 비공개로 자동 처리되며 Google에서는 다른 고객과 결과를 공유하지 않습니다.
Google의 보안 조치에 대한 자세한 내용은 Google 보안 개요를 참조하세요.
다음은 데이터에 대한 액세스를 제어하는 방법입니다.
- Identity and Access Management(IAM) 권한을 사용하여 코드베이스에서 코드 추천을 받을 수 있는 개인을 제어할 수 있습니다.
.aiexclude
파일을 만들어 Gemini Code Assist에서 색인을 생성할 특정 저장소나 저장소 일부를 선택할 수 있습니다.
IDE에서 코드 맞춤설정을 구성하려면 Gemini Code Assist 코드 맞춤설정 구성을 참조하세요.
제한사항
- Google은 코드 저장소 색인 수를 프로젝트와 조직별로 1개로 제한합니다.
- 색인을 생성할 수 있는 최대 저장소 수는 20,000개입니다.
- 코드 저장소 색인당 최대 저장소 그룹 수는 500개입니다.
- 저장소 그룹당 최대 저장소 수는 500개입니다.
- 코드 맞춤설정은 VS Code Gemini Code Assist 확장 프로그램(버전 2.18.0 이상), IntelliJ Gemini Code Assist 플러그인(버전 1.1.0), Cloud Workstations, Cloud Shell 편집기에서 지원됩니다.
- 코드 맞춤설정은 github.com, gitlab.com, bitbucket.org에서 호스팅되는 저장소와 GitLab Enterprise, GitHub Enterprise, Bitbucket Data Center에 호스팅되는 온프레미스 저장소를 지원합니다.
- 코드 맞춤설정은 GitHub Enterprise Cloud IP 제한사항을 지원하지 않습니다.
- 코드 맞춤설정은 다음 위치(리전)에서만 Developer Connect 연결을 지원합니다.
us-central1
europe-west1
asia-southeast1
코드 맞춤설정은 문서, 미디어 또는 기타 코드가 아닌 파일의 색인을 생성하지 않습니다. 또한 코드 맞춤설정은 다음 언어만 지원합니다.
- C, C++, C#
- Golang
- 자바
- JavaScript
- Kotlin
- PHP
- Python
- Rust
- TypeScript
다른 모든 코딩 언어는 코드 맞춤설정에 색인이 생성되거나 사용되지 않습니다. 코딩 언어 지원을 요청하려면 이 페이지에서 의견 보내기를 클릭한 후 제품 의견을 선택하세요.
다음 단계
Gemini Code Assist 코드 맞춤설정 구성
IDE에서 코드 맞춤설정을 구성하면 코드 맞춤설정 사용을 참조하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-29(UTC)
[null,null,["최종 업데이트: 2025-07-29(UTC)"],[[["\u003cp\u003eCode customization in Gemini Code Assist provides code suggestions tailored to your organization's private repositories and coding style by analyzing and indexing your code.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist uses a private index to search for code similar to what you're writing and includes relevant matches in the code prompt, updating the index every 24 hours to ensure suggestions are current.\u003c/p\u003e\n"],["\u003cp\u003eCode customization offers enhanced code search capabilities compared to full codebase awareness, as it searches all indexed repositories, rather than just the current folder and open tabs.\u003c/p\u003e\n"],["\u003cp\u003eGoogle secures private code through a dedicated single-tenant environment, administrative access controls, and ensures that the Gemini model doesn't train on your private code, while keeping your results private.\u003c/p\u003e\n"],["\u003cp\u003eCode Customization is available on VS Code Gemini Code Assist extension, IntelliJ Gemini Code Assist plugin, Cloud Workstations, and the Cloud Shell Editor, with limited support for GitHub.com and GitLab.com, as well as only being able to index certain programming languages.\u003c/p\u003e\n"]]],[],null,["| **Note:** Gemini Code Assist code customization is available only in Gemini Code Assist Enterprise. For more information, see [Gemini Code Assist supported features](/gemini-code-assist/docs/overview#supported-features).\n\nCode customization, a feature in\n\n[Gemini Code Assist](/gemini-code-assist/docs/overview) Enterprise,\nlets you get code suggestions from Gemini Code Assist\nEnterprise that are based on your organization's private repositories, and thus\naligned to your organization's coding style.\n\nCode customization gives Gemini Code Assist Enterprise access to\ncode in your private repositories by analyzing and storing it in a private\nindex, as the following diagram shows:\n\nAs you code, Gemini Code Assist searches your private index for\ncode that is similar to what you're trying to write. It then includes relevant\nmatches in the code prompt and sends these matches to the\nGemini Code Assist recommendations service. Code customization\nkeeps recommendations fresh by reindexing your codebase every 24 hours to\nensure that code suggestions remain up to date.\nGemini Code Assist returns the generated code to you.\n\nUnlike the full codebase awareness feature, which is limited to searching files\nin the current folder and open tabs in your IDE, code customization searches all\nrepositories in your index. After code customization is set up, it works as part\nof the code completion and code generation features.\n\nBoth Gemini Code Assist and code customization are managed\nservices. You license usage by seats per month.\n\nSecuring access and storage of private code\n\nGoogle provides security of your stored private code in several ways:\n\n- We index and store your code in a dedicated single-tenant environment.\n- [Administrative access controls](https://cloud.google.com/assured-workloads/cloud-provider-access-management/docs/administrative-access) help prevent Google employees from accessing your content without justification and, optionally, explicit approval.\n- The Gemini model doesn't train on your private source code.\n- Your results are private to you, and we don't share your results with other customers.\n\nFor further details on Google's security measures, see the\n[Google security overview](https://cloud.google.com/security/overview/whitepaper).\n\nHere's how you can control access to your data:\n\n- You can use Identity and Access Management permissions to help control individuals who can get code suggestions from your codebase.\n- You can [create an `.aiexclude` file](/gemini-code-assist/docs/code-customization#optional_choose_which_files_are_not_indexed) to choose specific repositories or parts of repositories that Gemini Code Assist indexes.\n\nTo configure code customization in your IDE, see\n\n[Configure Gemini Code Assist code customization](/gemini-code-assist/docs/code-customization).\n\n\nLimitations\n\n- Google limits the number of code repository indexes to one for each project and for each organization.\n- The maximum number of repositories that can be indexed is 20,000.\n- The maximum number of repository groups per code repository index is 500.\n- The maximum number of repositories per repository group is 500.\n- Code customization is supported in the VS Code Gemini Code Assist extension (version 2.18.0+), the IntelliJ Gemini Code Assist plugin (version 1.1.0), Cloud Workstations, and the Cloud Shell Editor.\n- Code customization supports repositories hosted on github.com, gitlab.com, bitbucket.org, and on-premises repositories hosted on GitLab Enterprise, GitHub Enterprise, and Bitbucket Data Center.\n- Code customization doesn't support [GitHub Enterprise Cloud IP restrictions](https://docs.github.com/en/enterprise-cloud@latest/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-allowed-ip-addresses-for-your-organization).\n- Code customization supports only Developer Connect connections in the following locations (regions):\n - `us-central1`\n - `europe-west1`\n - `asia-southeast1`\n- Code customization doesn't index documentation, media, or other non-code\n files. Additionally, code customization supports only the following\n languages:\n\n - C, C++, and C#\n - Golang\n - Java\n - JavaScript\n - Kotlin\n - PHP\n - Python\n - Rust\n - TypeScript\n\n All other coding languages are not indexed or used in code customization. To\n request support for a coding language, click **Send feedback** on this page,\n and then select **Product feedback**.\n\nWhat's next\n\n1.\n [Configure Gemini Code Assist\n code customization](/gemini-code-assist/docs/code-customization).\n\n2. Once you've configured code customization in your IDE, see\n\n [Use code customization](/gemini-code-assist/docs/use-code-customization)."]]