Android 스튜디오의 Gemini를 사용하여 코드의 문서를 생성할 수 있습니다. 수정하고 완성할 수 있는 즉석 초안으로 코드에 대한 명확하고 간결한 문서를 생성하세요.
문서화하려는 코드 섹션에서 마우스 오른쪽 버튼을 클릭하고 컨텍스트 메뉴에서 Gemini > Document Function을 선택합니다. (컨텍스트에 따라 문서 클래스 또는 문서 속성이 표시될 수도 있습니다.)
코드 차이에서 제안된 변경사항을 검토합니다. 필요한 경우 변경사항 수락을 클릭하기 전에 수정합니다.
Gemini는 코드에 대한 문서를 제안할 수 있습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-31(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-31(UTC)"],[],[],null,["# Generate documentation for your code\n\nYou can use Gemini in Android Studio to generate documentation for your\ncode. Generate clear and concise documentation for your code with instant drafts\nthat you can refine and perfect.\n\n1. In the section of code that you want to document, right-click and select **Gemini \\\u003e Document Function** from the context menu. (You might also see **Document Class** or **Document Property** depending on the context.)\n2. Review proposed changes in the code diff. Refine if necessary before you click **Accept changes**.\n\nGemini can suggest documentation for your code."]]