Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Condense - AI Docstring GeneratorNew to Visual Studio Code? Get it now.
Condense - AI Docstring Generator

Condense - AI Docstring Generator

Aakash Kasabekar

|
35 installs
| (2) | Free
A VS Code extension to generate JavaScript docstrings using AI.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Condense - AI-Powered JavaScript Docstring Generator

[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=AakashKasabekar.js-docstring-generator)

[License](LICENSE.md)

Condense is a VS Code extension that uses AI to generate high-quality JavaScript docstrings effortlessly! Save time documenting your code while keeping it clean and professional.


🎯 Features

✅ AI-powered docstring generation using Google Gemini
✅ JS Doc format with @param, @returns, and @type annotations
✅ Quick keybinding: Press Alt + D to generate docstrings
✅ Open Command Palette by Ctrl + Shift + P or seamless usage


🛠️ How to Use?

Set up Gemini API Key:

  • Visit Google AI Studio website
  • Click on Create API Key button - copy the API key
  • Now, open VSCode - press Ctrl + Shift + P to open Command Palette - search Preferences: Open User Settings (JSON)
  • Add the API key to this JSON file "docstringGenerator.geminiApiKey": "your-gemini-api-key"

You have set up your Gemini API key successfully!

Now,

  1. Select the JavaScript code you want to document.
  2. Press Alt + D or Press Ctrl + Shift + P → "Generate Docstring".
  3. The AI generates a professional docstring instantly! 🎉

🔑 Keybindings

Command Shortcut Description
extension.generateDocstring Alt + D Generates a JS docstring

🖥️ Installation

🔹 Install from the VS Code Marketplace
🔹 Or, install manually:

code --install-extension js-docstring-generator-0.0.4.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft