Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodePromptNew to Visual Studio Code? Get it now.
CodePrompt

CodePrompt

Chandru J

|
6 installs
| (1) | Free
Extract and clean code snippets from your workspace for LLM prompting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodePrompt

CodePrompt is a VS Code extension that helps you extract and clean code snippets from your workspace for LLM prompting.

Features

  • File Selection: Choose which file extensions to include (.ts, .js, .py, etc.).
  • Ignore Patterns: Exclude folders like node_modules or dist.
  • Comment Removal: Automatically strip comments to save tokens.
  • Copy to Clipboard: detailed prompt generation with one click.

Usage

  1. Open the CodePrompt view in the Activity Bar.
  2. Select desired file types.
  3. Click "Generate Prompt".
  4. Copy and paste into your LLM.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft