Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tính năng nhận biết cơ sở mã cục bộ giúp cải thiện mức độ liên quan của các câu trả lời của Gemini Code Assist thông qua việc lập chỉ mục và các kỹ thuật hỗ trợ.
Theo mặc định, tính năng nhận biết cơ sở mã cục bộ sẽ được bật. Để tắt tính năng nhận biết cơ sở mã cục bộ, hãy thực hiện các thao tác sau:
VS Code
Trong IDE, hãy chuyển đến phần Settings (Cài đặt) > Extensions (Tiện ích) > Gemini Code Assist (Gemini hỗ trợ viết mã).
Tìm chế độ cài đặt Nhận biết cơ sở mã cục bộ.
Bỏ chọn hộp đánh dấu để tắt tính năng nhận biết cơ sở mã cục bộ.
Tải lại IDE.
IntelliJ
Gemini Code Assist cho IntelliJ và các IDE khác của JetBrains không hỗ trợ chế độ cài đặt cấu hình nhận biết cơ sở mã cục bộ.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 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."]]