Skip to content

What do you think about Visual Studio Marketplace? We are looking for feedback from developers like you! Take the survey

| Marketplace
Sign in
Visual Studio Code>Programming Languages>Docify - AI Doc WriterNew to Visual Studio Code? Get it now.

Docify - AI Doc Writer

AIC

|
3,594 installs
| (8) | Free
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.
Copied to clipboard
More Info

Automated Code Comment and Documentation - Powered by the #1 Code-to-Text AI Model

Code-to-Text AI assistant

Quick menu:

  • What's Docify
  • Features
    • Generate comments
    • Translate comments
  • Data privacy

What's Docify

  • 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 is powered by the #1 Code-To-Text AI model ranked by Microsoft CodeXGLUE benchmark.
  • 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.
  • Supported docstring formats: JavaDoc, XML, JsDoc, EpyText, reST, Google, Doxygen.

Features

Generate comments

  • Step 1: Configure the right settings

    • Select the programming language.

      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.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft