ローカル コードベースの認識を構成する
コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。
ローカル コードベースの認識により、インデックス作成とサポート技術を通じて Gemini Code Assist のレスポンスの関連性が向上します。
デフォルトでは、ローカル コードベースの認識が有効になっています。ローカル コードベースの認識を無効にするには、次のタスクを行います。
VS Code
IDE で、[Settings] > [Extensions] > [Gemini Code Assist] に移動します。
[ローカル コードベースの認識] 設定を検索します。
チェックボックスをオフにすると、ローカル コードベースの認識が無効になります。
IDE を再読み込みします。
IntelliJ
IntelliJ などの JetBrains IDE の Gemini Code Assist では、ローカル コードベース認識の構成設定はサポートされていません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-29 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-29 UTC。"],[],[],null,["# Configure local codebase awareness\n\n| **Preview**\n|\n| Specifying folders to use as context with Gemini Code Assist\n| is a feature that is in preview. Products and features that are in preview are\n| available \"as is\".\n\nLocal codebase awareness improves the relevance of\nGemini Code Assist responses through indexing and supporting\ntechniques.\n\nBy default, local codebase awareness is enabled. To disable local codebase\nawareness, perform the following tasks: \n\n### VS Code\n\n1. In your IDE, navigate to **Settings** \\\u003e **Extensions**\n \\\u003e **Gemini Code Assist**.\n\n2. Search for the **Local Codebase Awareness** setting.\n\n3. Unselect the checkbox to disable local codebase awareness.\n\n4. Reload your IDE.\n\n### IntelliJ\n\nLocal codebase awareness configuration settings aren't supported in\nGemini Code Assist for IntelliJ and other JetBrains IDEs."]]