Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>LLM Context BuilderNew to Visual Studio Code? Get it now.
LLM Context Builder

LLM Context Builder

Philipp Burckhardt

|
170 installs
| (0) | Free
Assemble contextual information from project files for usage in LLMs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LLM Context Builder

Visual Studio Marketplace Version Visual Studio Marketplace Installs - Azure DevOps Extension GitHub Actions Workflow Status

VS Code extension for building context prompts for Large Language Models (LLMs).

LLM Context Builder Demo

Features

  • 📁 Custom file explorer for easy selection of files and folders
  • 🔢 Automatic token counting for selected content
  • 🔍 File filtering with comma-separated search terms
  • 🗜️ Optional code minification for JS/TS files
  • ⚙️ Customizable directory and file type exclusions
  • 📋 One-click context prompt generation and copying

Install

  • From Visual Studio Marketplace: Install directly from the marketplace and reload VS Code if prompted.
  • From within Visual Studio Code: Open Extensions (Ctrl+Shift+X), search "LLM Context Builder", and click Install.

Usage

  1. Open the LLM Context Builder view in the Explorer sidebar
  2. Select files/folders to include in your context prompt
  3. Use the search box to filter files
  4. Click "Create Context Prompt" to generate and copy the prompt to the clipboard

Commands

  • LLM Context Builder: Toggle Search Box
  • LLM Context Builder: Deselect All Files
  • LLM Context Builder: Create Context Prompt
  • LLM Context Builder: Toggle Code Minification
  • LLM Context Builder: Update Exclude List
  • LLM Context Builder: Open Selected Files
  • LLM Context Builder: Select All Files

Configuration

{
  "contextPrompt.excludeDirectories": [".git", "node_modules"],
  "contextPrompt.excludeFileTypes": [".jpg", ".png", ".pdf"],
  "contextPrompt.minifyCode": false,
}

License

This project is licensed under the Blue Oak Model License 1.0.0.

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