Interactive UI for working with Listing Generator CLI: context generation, section management, sending to AI — all in the familiar VS Code interface.
VS Code Extension for Listing Generator — a graphical interface for the powerful CLI tool for creating AI contexts.
The extension automates routine tasks:
- No need to remember commands — all actions through panels and buttons
- Visual configuration — modes, tags, file filters in convenient forms
- Instant sending to AI — integration with Copilot, Cursor, Claude, OpenAI API from one button
- Live statistics — see context size and token usage before sending
Central management panel:
- Selection of contexts and sections from
lg-cfg/ - Adaptive settings: operation modes (ask/agent, planning/development/review), tag sets
- Dynamic description of current task (task context)
- Tokenization management (tiktoken, HuggingFace tokenizers, sentencepiece)
Direct sending of contexts to AI:
- Clipboard — copying for any chat
- GitHub Copilot — sending to Copilot Chat
- Cursor Composer — integration with Cursor IDE
- Claude CLI — via terminal client
- OpenAI API — direct network sending (token storage via VS Code Secrets)
Automatic detection of available providers on first run.
- Included Files Tree — tree of files included in the context after filtering
- Stats Webview — detailed statistics by tokens, file grouping, savings from adapters
- Doctor — environment diagnostics,
lg-cfg/migrations, cache status
- Auto-install via pipx — automatic CLI installation with version pinning (zero config)
- Watcher on lg-cfg/ — live update of sections/contexts lists when configuration is edited
- Config migrations — built-in support for
lg-cfg/format migrations (CLI compatibility)
- Install the extension from VS Code Marketplace (or from
.vsixfile) - Open a project with
lg-cfg/— the extension will automatically activate - First run: Extension will automatically install CLI via pipx (requires pipx on your system)
- Open the "LG — Control Panel" in the Activity Bar sidebar
- Select a context/section, configure modes and tags, click "Send to AI"
If you don't have lg-cfg/ yet — use the "LG: Create Starter Config" command to initialize the standard structure.
- Listing Generator CLI — main documentation on CLI and
lg-cfg/format - Templates and Contexts — prompt templating
- Adaptive Features — modes, tags, conditional logic
- Language Adapters — listing optimization
Main parameters (Settings → Extensions → Listing Generator):
lg.developerMode— enable Developer Mode to test unreleased CLI versions (default: false)lg.python.interpreter— path to Python interpreter in CLI dev venv (Developer Mode only)lg.openAsEditable— open results as editable files (instead of read-only virtual documents)
AI provider selection is available directly in the Control Panel (not in Settings).
VS Code Extension for Listing Generator is licensed under the Apache License, Version 2.0.
See the LICENSE file for the full license text.