Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Treeer - AI Tree GeneratorNew to Visual Studio Code? Get it now.
Treeer - AI Tree Generator

Treeer - AI Tree Generator

Amirafa

| (0) | Free
AI-optimized project tree generator for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Treeer for VS Code

Treeer is an AI-friendly VS Code extension for generating compact, readable project trees from selected folders. It uses the same scanner, formatter, transformer, and statistics utilities as the Treeer project, then opens the result in a new editor tab.

The generated output keeps important project files visible while reducing repetitive file listings, making the structure easier to scan and cheaper for AI agents to process.

Features

  • Generate a tree for any folder in the Explorer
  • Generate a transformed, AI-friendly tree like the CLI
  • Configure maximum depth, focus path, and additional ignored directories
  • Choose tree text or JSON output
  • Show AI statistics
  • Save output to a file
  • Open the result in a new editor tab
  • Copy the generated tree to the clipboard
  • Display estimated file, directory, token, and reduction statistics

The shared core automatically ignores common generated and dependency directories, such as node_modules, .git, dist, build, and coverage. It also preserves common project metadata and important entry-point files.

Requirements

  • VS Code 1.85.0 or later

Install and enable the Treeer extension in VS Code before using the commands below.

Usage

  1. Open a folder or workspace in VS Code.

  2. Right-click a folder in the Explorer.

  3. Choose one of the following commands:

    • Treeer: Generate Tree Here generates the complete tree.
    • Treeer: Generate Tree with Options... prompts for the CLI-style options: maximum depth, focus path, additional ignored directories, output format, statistics, and output destination. Leave depth or focus empty to disable those filters.

The generated tree opens beside the current editor. A notification also provides an option to copy it to the clipboard.

The same commands are available from the Command Palette with Treeer as the search term.

The extension uses the same core pipeline as the CLI: scan, focus, limit depth, transform repetitive files, then format the result. Its interactive options correspond to the CLI flags --level, --focus, --ignore, --json, --stats, and --output.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft