Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>LLM Prompt BuilderNew to Visual Studio Code? Get it now.
LLM Prompt Builder

LLM Prompt Builder

Francisco Marquez

|
89 installs
| (0) | Free
Easily build prompts with atached files or dirs as code context and preview them directly in VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prompt Builder for Code Context

License: MIT

A VS Code extension that helps you quickly assemble prompt inputs for large language models directly from your codebase.

Features

  • 🔍 File selection with a searchable dropdown
  • 🔄 One-click refresh to re-fetch the codebase file tree
  • 🗑️ "Clear all files" button to reset the prompt context
  • 🌳 Codebase tree visualization to provide structural context
  • ✏️ Integrated prompt editor with a live token count
  • 📋 Copy-to-clipboard functionality for easy prompt usage in external tools

Installation

Install this extension from the Visual Studio Code Marketplace.

Usage

  1. Open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac)
  2. Run Prompt Builder: Open Prompt Panel or only One Prompt Panel
  3. Search and select files from your codebase to add to context
  4. Toggle codebase tree inclusion and adjust depth
  5. Write or modify your prompt in the Prompt Editor
  6. Copy the final prompt with a single click

Configuration

  • Files are read from the current workspace
  • Respects .gitignore patterns for file exclusion
  • Customizable depth for codebase tree visualization

Troubleshooting

If you encounter any issues, please visit our GitHub Issues page.

Contributing

We welcome contributions! Please see our contributing guidelines for more details.

License

MIT

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