Overview
Draw Folder Structure provides several configuration options to customize how your folder structures are generated. All settings can be configured in your VS Codesettings.json file.
Configuration Settings
File and folder patterns to exclude when generating the Markdown structure.Accepts glob patterns for flexible exclusion rules:
- Exclude specific folders:
"**/node_modules","**/dist" - Exclude specific files:
"**/archivo1.txt","**/archivo2.js" - Exclude by file extension:
"**/*.log","**/*.tmp"
Drawing style for folder structure visualization.Available options:
ClassicDashesMinimalistDotsEmojiFunEmojiMinimalistEmojiDashesArrowsNestedCirclesBoldBlocksSlashSeparatorsChevronIndicatorsDotDashMixTrianglesZigzagPipesAndHyphensNestedSquaresCirclesAndLinesSparklesDesingTrailDesignFloralDesignGalacticDesign
Allow recursive folder exploration.
true(default): The extension will explore all subdirectories under the base folder, generating a complete and detailed project tree.false: Only the files and folders in the root of the selected directory are included, providing a shallow structure without subdirectories.
Respect
.gitignore rules when generating structure.true: The extension loads the.gitignorefile (if it exists) and excludes any files or folders that match the specified patterns. Useful for omitting dependencies or temporary files.false(default): All files and folders are included, regardless of what is defined in.gitignore.
Complete Configuration Example
Here’s a complete example showing all available configuration options:settings.json
Accessing Settings
Via VS Code UI
- Open VS Code Settings (
Ctrl+,orCmd+,) - Search for “Draw Folder Structure”
- Modify any setting directly in the UI
Via settings.json
- Open Command Palette (
Ctrl+Shift+PorCmd+Shift+P) - Type “Preferences: Open Settings (JSON)”
- Add or modify the configuration options
Configuration Scope
All configuration options can be set at:- User level: Applies globally to all workspaces
- Workspace level: Applies only to the current workspace