v1.4
Select IDE
Visual Studio CodeIntelliJVisual Studio
Home
Blog
Knowledge Base
Download
โ„น๏ธ Introduction
๐Ÿ“œ Release History ๐Ÿ”ฅ What's New
๐Ÿ’ป User Guide
๐Ÿ›  Installation
๐Ÿ†” Log In
๐Ÿงฐ Features
โ–ผ
โ–ถ
Chat ConversationPredefined Actions
CodeVista Streak
Code Context
Workspace Status
Autocomplete
Autodoc
Inline Chat
Web Search
Feedback System
๐Ÿ’ฒ Usage Quotasโ—๏ธ Instructions for Internal FPT Users
โ” FAQ
Visit xVista Homepage

Autodoc

This feature enables you to automatically generate docstrings and comments for your code using Autodoc. The tool will analyze your code and suggest appropriate comments.

To use this feature, please follow these steps:
1. Select code snippets that you want to generate docstring. You can pass this step if you want to generate docstring for the whole coding file.

2. Right-click on the Coding file โ€”> Select CodeVista --> Generate Comments.
3. Preview the generated comments.
4. Accept or discard generated comments
  • Select docstrings/comments
  • Choose Apply to accept generated comments, or Discard to cancel.
The Autodoc feature supports a maximum input context of 16,000 tokens.

If your file or project exceeds this limit, you may need to document sections individually or reduce the scope of the input.
Previous
Autocomplete
Next
Inline Chat
Last Modified 1 month ago
Knowledge Base
On this page
Autodoc