ConsoleTree Svelte Themes

Consoletree

Tree view to find, navigate and remove console statements from your project.

Console Tree

Extension that provides a tree view to easily find, navigate, and remove console statements from your project.

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Configuration
  5. Supported File Types
  6. Contributing
  7. License
  8. Acknowledgments

Features

🌳 Tree View Interface - Browse all console statements organized by files
🔍 Smart Detection - Finds console.log, console.warn, console.error, console.info, and console.debug
🎯 Click to Navigate - Jump directly to any console statement in your code
🗑️ One-Click Removal - Remove individual console statements or all at once
Auto-Refresh - Tree updates automatically when you modify files
⚙️ Configurable - Customize file patterns and search patterns

Back to top ⬆️

Installation

Visual Studio Code

Search for "Console Tree" in the Extensions panel or install directly from the VS Code Marketplace.

Cursor / Windsurf / VSCodium

Search for "Console Tree" in the Extensions panel or install directly from Open VSX Registry.

From Source

git clone https://github.com/MarcosKlender/ConsoleTree.git
cd ConsoleTree
pnpm install
pnpm run compile

Then press F5 to test the extension.

Back to top ⬆️

Usage

  1. Open a project in VSCode
  2. Click on the Console Tree icon in the Activity Bar (Sidebar)
  3. The tree view will show all console statements in your project organized by files
  4. Navigate: Click on any console statement to jump to that line
  5. Remove individual: Click the trash icon next to any console statement
  6. Remove all: Click the trash icon in the tree view title bar
  7. Refresh: Click the refresh icon to manually update the tree

Back to top ⬆️

Configuration

You can customize Console Tree in your VSCode Settings:

{
  "consoleTree.includePatterns": [
    "**/*.js",
    "**/*.ts",
    "**/*.jsx",
    "**/*.tsx",
    "**/*.vue",
    "**/*.svelte"
  ],
  "consoleTree.excludePatterns": [
    "**/node_modules/**",
    "**/dist/**",
    "**/build/**",
    "**/*.min.js"
  ],
  "consoleTree.patterns": [
    "console\\.log\\s*\\(",
    "console\\.warn\\s*\\(",
    "console\\.error\\s*\\(",
    "console\\.info\\s*\\(",
    "console\\.debug\\s*\\("
  ]
}

Back to top ⬆️

Supported File Types

  • JavaScript (.js, .mjs, .cjs)
  • TypeScript (.ts)
  • React (.jsx, .tsx)
  • Vue.js (.vue)
  • Svelte (.svelte)

Back to top ⬆️

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

Back to top ⬆️

License

This project is licensed under the MIT License - see the LICENSE file for details.

Back to top ⬆️

Acknowledgments

If you find this extension helpful and give credits, it would be greatly appreciated! Feel free to:

  • ⭐ Star this repository
  • 🐛 Report issues or suggest improvements
  • 💬 Share your experience with the extension
  • 🚀 Enjoy coding without console clutter

Back to top ⬆️

Top categories

Loading Svelte Themes