v1.8
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 ActionsCodeVista Streak
Code Context
Workspace Status
Autocomplete
Autodoc
Autofix
Inline Chat
Web Search
Feedback System
Planner Agent
๐Ÿ’ฒ 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. There are two ways to access this feature:
You can access by clicking on quick action button op of functions in current coding file:
Or else, you can access Autodoc by:
  • 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.
  • Right-click on the Coding file >> Select CodeVista >> Select Generate Comment as the below photo.
  • Preview the generated comments
  • Select to Accept or Reject docstrings/ comments by clicking on quick action buttons:
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
Autofix
Last Modified 1 month ago
Knowledge Base
On this page
Autodoc