Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>Claude Function SummarizerNew to Visual Studio Code? Get it now.
Claude Function Summarizer

Claude Function Summarizer

syout

|
4 installs
| (0) | Free
Automatically generate JSDoc/Docstring summaries using Gemini API, Claude API, or Claude CLI — your choice
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Function Summarizer

Automatically generate documentation comments (JSDoc, Docstring, etc.) for functions and classes using AI. Choose your preferred AI provider.

Supported Providers

Provider Cost Requirement
Gemini API (default) Free tier available Gemini API key (Google account)
Claude API Pay-as-you-go Anthropic API key
Claude CLI Included in subscription Claude Code installed & logged in

Features

  • One-click summary generation — Place the cursor inside any function or class and run the command
  • Language-aware formatting — Outputs JSDoc for TypeScript/JavaScript, Docstrings for Python, hash comments for Ruby/Shell, and more
  • Multilingual output — Generate summaries in English or Japanese (auto-detected from VS Code locale)
  • Secure API key storage — Uses VS Code's built-in SecretStorage, never stored in plain text

Supported Languages

Language Comment Format
TypeScript, JavaScript, Java, C++, C#, Go, Rust, Swift /** JSDoc */
Python """ Docstring """
Ruby, Shell, YAML, PowerShell # Hash comment
Others /* Block comment */

Getting Started

Step 1: Choose a provider

Open VS Code Settings (Ctrl+,) and search for claudeSummarizer.provider. Set it to one of:

  • gemini — free, recommended for most users
  • claude-api — higher quality, pay-as-you-go
  • claude-cli — if you have a Claude Code subscription

Step 2: Set your API key (if needed)

For Gemini:

  1. Get a free key at Google AI Studio
  2. Run command: Claude: Set Gemini API Key

For Claude API:

  1. Get a key at console.anthropic.com
  2. Run command: Claude: Set Claude API Key

For Claude CLI: No key needed — just install Claude Code.

Step 3: Generate a summary

  1. Place the cursor inside a function or class
  2. Open the Command Palette (Ctrl+Shift+P) and run Claude: Generate Function Summary — or right-click and select it from the context menu

Extension Settings

Setting Default Description
claudeSummarizer.provider gemini AI provider: gemini, claude-api, or claude-cli
claudeSummarizer.geminiModel gemini-1.5-flash Gemini model to use
claudeSummarizer.claudeModel claude-sonnet-4-6 Claude model to use
claudeSummarizer.language auto Summary language: auto, en, or ja

License

MIT

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