Đọc tài liệu trong khi lập trình bằng tính năng Trợ giúp lập trình của Gemini
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.
Bạn có 5 phút rảnh không?
Hãy giúp chúng tôi cải thiện tài liệu về Google Workspace bằng cách trả lời một bản khảo sát trực tuyến ngắn.
Tài liệu này mô tả cách bạn có thể sử dụng lệnh @googledocs trong Gemini Code Assist để đọc, tóm tắt và liệt kê các tài sản của bạn trên Google Tài liệu, chẳng hạn như tài liệu và thư mục, ngay trong IDE (môi trường phát triển tích hợp).
Công cụ Gemini Code Assist trong Google Tài liệu có trong Gemini Code Assist dành cho cá nhân cũng như các phiên bản Gemini Code Assist Tiêu chuẩn và Doanh nghiệp. Để biết thông tin chi tiết, hãy xem Tổng quan về Gemini Code Assist.
Trước khi bắt đầu
Hoàn tất các bước sau cho gói thuê bao Gemini Code Assist mà bạn muốn sử dụng.
Gemini Code Assist Tiêu chuẩn và Doanh nghiệp
Quản trị viên phải thực hiện hai bước đầu tiên và từng nhà phát triển có thể hoàn tất bước thứ ba.
Thay thế MY_DOC bằng tiêu đề của tài liệu mà bạn muốn tóm tắt.
Liệt kê tài liệu
Công cụ Google Tài liệu trong Gemini Code Assist có thể liệt kê các tài liệu với nhiều bộ sửa đổi, chẳng hạn như tài liệu bạn đã xem gần đây, tài liệu được chia sẻ với bạn hoặc tài liệu bạn đã tạo. Đây chỉ là một vài cách mà công cụ này có thể liệt kê tài liệu. Hãy thử yêu cầu Gemini liệt kê, nhóm hoặc sắp xếp tài liệu theo cách phù hợp nhất với công việc của bạn.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[],[],null,["# Read documents while coding with Gemini Code Assist\n\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| Got 5 minutes? Help us improve the Google Workspace documentation by taking a quick [online survey](https://forms.gle/qYR2wnTRueYeQeSi6). |\n\n| **Preview**\n|\n| This product or feature is in preview. Products and features that are\n| in preview are available \"as is\".\n\nThis document describes how you can use the `@googledocs` command in\nGemini Code Assist to read, summarize, and list your Google Docs\nassets, like documents and folders, directly from your IDE (integrated\ndevelopment environment).\n\nThe Gemini Code Assist Google Docs tool is available as part of\nthe Gemini Code Assist for individuals and the\nGemini Code Assist Standard and Enterprise editions. For details, see\nthe\n[Gemini Code Assist overview](/gemini-code-assist/docs/overview).\n\nBefore you begin\n----------------\n\nComplete the following steps for the\nGemini Code Assist subscription you want to use.\n\n### Gemini Code Assist Standard and Enterprise\n\nThe first two steps must be done by an administrator, and the third step\ncan be completed by individual developers.\n\n1. [Install Gemini Code Assist for Standard and Enterprise](https://developers.google.com/gemini-code-assist/docs/set-up-gemini-standard-enterprise).\n2. Enable the Google Docs tool for users by following the steps in [Enable Gemini Code Assist tools](https://developers.google.com/gemini-code-assist/docs/tools-agents/enable-tools-standard-enterprise).\n3. Install Google Docs in your IDE by following the steps in [Configure Gemini Code Assist tools](https://developers.google.com/gemini-code-assist/docs/tools-agents/configure-tools-standard-enterprise).\n\n### Gemini Code Assist for individuals\n\n1. [Install Gemini Code Assist for individuals](https://developers.google.com/gemini-code-assist/docs/set-up-gemini).\n2. Install the Google Docs tool in your IDE by following the steps in [Configure tools](https://developers.google.com/gemini-code-assist/docs/tools-agents/configure-tools).\n\nRead a document\n---------------\n\nThe Google Docs tool in Gemini Code Assist can return the full\ncontents of a document so you can read it directly from your IDE.\n\n- In your IDE,\n [navigate to the Gemini Code Assist chat](https://cloud.google.com/gemini/docs/codeassist/use-gemini-code-assist-chat)\n and enter the following prompt:\n\n @googledocs read \u003cvar translate=\"no\"\u003eMY_DOC\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eMY_DOC\u003c/var\u003e with the title of the document you want to read.\n\nSummarize a document\n--------------------\n\nThe Google Docs tool in Gemini Code Assist can summarize\nGoogle Docs for you directly from your IDE.\n\n- In your IDE,\n [navigate to the Gemini Code Assist chat](https://cloud.google.com/gemini/docs/codeassist/use-gemini-code-assist-chat)\n chat and enter the following prompt:\n\n @googledocs summarize \u003cvar translate=\"no\"\u003eMY_DOC\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eMY_DOC\u003c/var\u003e with the title of the document you want\n summarized.\n\nList documents\n--------------\n\nThe Google Docs tool in Gemini Code Assist can list documents with a\nvariety of modifiers, like recently viewed docs, docs shared with you, or docs\nyou created. These are just a few ways The tool can list documents. Try asking\nit to list, group, or sort documents however best supports your work.\n\n- In your IDE,\n [navigate to the Gemini Code Assist chat](https://cloud.google.com/gemini/docs/codeassist/use-gemini-code-assist-chat)\n chat and enter one of the following prompts:\n\n @googledocs list recent documents\n @googledocs list documents shared with me\n @googledocs list documents created by me\n\nRelated topics\n--------------\n\n- Learn more about Gemini Code Assist tools by reading the [Tools overview](https://developers.google.com/gemini-code-assist/docs/tools-agents/tools-overview)."]]