Extension that provides a tree view to easily find, navigate, and remove console statements from your project.
🌳 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
Search for "Console Tree" in the Extensions panel or install directly from the VS Code Marketplace.
Search for "Console Tree" in the Extensions panel or install directly from Open VSX Registry.
git clone https://github.com/MarcosKlender/ConsoleTree.git
cd ConsoleTree
pnpm install
pnpm run compile
Then press F5 to test the extension.
console statements in your project organized by filesYou 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*\\("
]
}
.js, .mjs, .cjs).ts).jsx, .tsx).vue).svelte)Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this extension helpful and give credits, it would be greatly appreciated! Feel free to: