Next generation of AI-assisited code documentation tool. Powered by the most recent advances in language modeling. Our model performs the best in conventional benchmark.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Documenting new code during development? Reviewing old code during project hand-offs or support? Docify is here to help by generating natural language comments from source code.
Docify empowers developers with a wide range of controls, including options for customizing the length and level of detail of generated comments, from succinct to descriptive.
Supported languages: C, C++, C#, Go, Java, JavaScript, PHP, Python, and Ruby with more added in the future.
Note: If auto-detect is selected, our system makes a guess of the programming language based on its syntax. For better results, we recommend selecting a programming language.
Select the docstring format.
(Optional) Select the human language of the generated comments. By default, comments are generated in English. If a different language is selected, the comments are translated after generation. See supported languages.
(Recommended) Enable More expressive comments to generate longer comments with more detailed descriptions.
(Recommended) Enable Inline comments to get short descriptions of important blocks of code.
(Optional) Enable Side panel review to see suggested comments on the side panel before inserting into the source code or rejecting.
Step 2: Generate comments
For a code snippet: Highlight a code snippet, right click and choose Docify: Comment the selected codes.
For an entire file: Right click and choose Docify: Comment for the entire file.
Step 3: Accept or reject suggested comments
Translate comments
Docify supports translating comments on demand.
Step 1:
To translate a comment snippet, highlight the content, right click and choose Docify: translate comment snippet.
To translate all comments in a file, right click and choose Docify: translate comment for file.
Step 2: Select the source and target languages
List of supported languages:
Japanese (日本語)
Chinese (简体字)
Vietnamese (Tiếng Việt)
Korean (한국어)
Hindi (हिन्दी)
Indonesian (Bahasa Indonesia)
French (Français)
Spanish (Español)
Portuguese (Português)
Russian (Pусский язык)
Step 3: Select the docstring format of the comments
Data privacy
Docify never stores your code or comments generated from your code. We improve our AI model by applying new ML techniques on publicly available datasets.