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:
-
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 commends as the below photo.
- Preview the generated comment
- Accept or discard generated comments.
- Select docstrings/comments
- Click icon << or type use Ctrl+Alt+A to accept the generated comment.