Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>thlabs-docgenNew to Visual Studio Code? Get it now.
thlabs-docgen

thlabs-docgen

Tech-House LLC

|
4 installs
| (0) | Free
An AI powered doc generation tool
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

THLABS DocGen - AI-Powered Documentation Generator

An AI-powered documentation generation tool for Visual Studio Code that automatically creates inline documentation for your code methods and generates summary documentation files using Google's Gemini AI.

Features

  • Inline Documentation: Adds concise documentation (4 lines max) above functions/methods
  • Summary Generation: Creates standalone output.md with code summary
  • Google Gemini Integration: Powered by Google's latest AI models
  • VS Code Integration: Accessible via command palette, context menu, and dedicated panel

Installation

  1. Install the extension from the VS Code Marketplace (or install from VSIX)
  2. Restart VS Code
  3. Configure your Google Gemini API key (see below)

Usage

Basic Commands

  • Open a code file
  • Run command THLABS - Document file from Command Palette (Ctrl+Shift+P)
  • Or right-click in Explorer and select "THLABS - Document file"
  • Open the side panel by clicking the DocGen icon in the Activity Bar and click "Run Command"

API Key Configuration

  1. First run will prompt for your Google Gemini API key
  2. Alternatively, set it in VS Code Settings:
    • Open Settings (Ctrl+,)
    • Search for "THLABS DocGen API Key"
    • Enter your key in the provided field

Requirements

  • VS Code v1.98.0 or higher
  • Google Gemini API key (free tier available)
  • Internet connection (for API calls)

Extension Commands

Command Description Shortcut
thlabs-docgen.document Generate documentation for current file Ctrl+Alt+D
thlabs-docgen.showDocGenView Show DocGen panel -

Known Issues

  • Large files may hit API token limits
  • Complex code structures might generate imperfect documentation
  • Internet connection required for all operations

Changelog

v0.0.1
Initial release with basic documentation generation

Support for inline and summary documentation

VS Code panel integration

License

Pending

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft