Skip to content

JensTech/VSFileTree

Repository files navigation

JensTech-vs-filetree

A simple VS Code extension that generates a file tree from any folder. Right-click on a directory in Explorer to get a neatly organized view of its children.

Features

  • Ignore directories: Hide .git, node_modules, or any folders you don’t want in the tree.
  • Toggle tree lines: Show or hide the ├── and └── lines for a cleaner look.
  • Workspace-aware: Works on any folder in your workspace.
  • Copyable output: Easily copy the tree from the editor to share or document your project structure.

Usage

  1. Right-click a folder in the Explorer panel.
  2. Select Generate File Tree.
  3. A new editor tab opens with the tree view of that folder.
  4. Adjust settings in Settings > Extensions > VS File Tree to ignore folders or toggle lines.

Settings

Setting Type Default Description
filetree.ignore array [".git", "node_modules"] List of directories to ignore in the tree
filetree.showLines boolean true Show ├── and └── lines in the file tree

Example

my-project/
├── .git/
│   └── config
├── node_modules/
│   └── react
└── index.html