Skip to main content

Document code

Discover ways that you can use GitHub Copilot 聊天功能 to document your code.

Filing issues without breaking your flow

When something catches your attention mid-task, use Copilot 命令行界面(CLI) to file a GitHub issue with code context, linked PRs, and labels, then get back to what you were doing.

Documenting legacy code

副驾驶聊天 can help with documenting legacy code.

Explaining legacy code

副驾驶聊天 can help with explaining unfamiliar code.

Explaining complex algorithms or logic

副驾驶聊天 can help add clear and concise documentation on complex algorithms or logic.

Syncing documentation with code changes

副驾驶聊天 can help with keeping code documentation up-to-date.

Writing discussions or blog posts

副驾驶聊天 can help you generate ideas, outline, or draft discussions or blog posts.