Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>TreeerNew to Visual Studio Code? Get it now.
Treeer

Treeer

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 tree with a configurable maximum depth
  • 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 a maximum depth. Leave the input empty to generate the full tree.

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.

This extension currently focuses on folder selection and depth. The CLI and MCP interfaces documented in the parent README additionally support options such as focus paths, custom ignored directories, JSON output, and file output.

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