Quick console.log with [TLOG] prefix for easy identification and removal
A powerful VS Code extension that helps you manage temporary logging statements efficiently. Perfect for debugging sessions where you need to quickly add logs and clean them up later without leaving traces in your codebase.
- Instant logging: Press
Ctrl+Shift+T
(Mac:Cmd+Shift+T
) to insert aconsole.log('[TLOG] message');
- Smart snippets: Tab through the message placeholder for quick editing
- [TLOG] prefix: Easy identification among other console logs
- Bulk removal: Press
Ctrl+Shift+R
(Mac:Cmd+Shift+R
) to remove all TLOGs - Scope selection: Choose between current file or entire workspace
- Safety confirmation: Prevents accidental deletions with confirmation dialogs
- Visual overview: See all TLOGs organized by directory structure
- Hierarchical display: Navigate through folders and files intuitively
- TLOG count indicators: Each folder and file shows the number of TLOGs
- One-click navigation: Jump directly to any TLOG location
- Individual removal: Remove single TLOGs directly from the tree view
- File-level cleanup: Remove all TLOGs from a specific file
- Directory cleanup: Remove all TLOGs from a folder and its subdirectories
- Inline actions: Trash icons for quick removal actions
- Install the extension from VS Code Marketplace or Open VSX Registry
- Insert a TLOG: Press
Ctrl+Shift+T
and type your debug message - View TLOGs: Open the "TLOG" panel in the activity bar (sidebar)
- Clean up: Use
Ctrl+Shift+R
or click trash icons in the tree view
Command | Shortcut | Description |
---|---|---|
Insert TLOG | Ctrl+Shift+T |
Insert a new TLOG at cursor position |
Remove All TLOGs | Ctrl+Shift+R |
Remove TLOGs from file or workspace |
Refresh TLOG Tree | - | Refresh the TLOG Explorer view |
- Folder icons: Click to expand/collapse directories
- Trash icons: Remove all TLOGs from files or directories
- Close icons: Remove individual TLOG statements
- File click: Navigate to TLOG location in the editor
Perfect for:
- Debugging sessions: Quick temporary logs that you can easily clean up
- Development workflow: Add debug statements without cluttering your code permanently
- Code reviews: Ensure no temporary logs make it into production
- Code hygiene: Keep your codebase clean and professional
The hierarchical tree view shows all your TLOGs organized by directory structure with inline removal actions.
Insert TLOGs instantly with keyboard shortcuts and smart snippets.
Choose scope and remove all TLOGs with confirmation dialogs.
- Search powered by Ripgrep: Fast and efficient TLOG detection across large codebases
- Pattern matching: Identifies
console.log
statements containing[TLOG]
- Workspace integration: Works seamlessly with VS Code's file system APIs
- Memory efficient: Lightweight extension with minimal performance impact
This project started as a small personal project with a development environment highly tailored to the owner. Given the low probability of external contributors, the current setup is unlikely to change.
If you'd like to contribute, please contact kubrickcode@gmail.com and we'll adapt the environment to accommodate contributions.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have feature requests:
- Bug reports: GitHub Issues
- Feature requests: GitHub Discussions
- Rate the extension: Help others discover TLOG by rating it on the marketplace
Made with β€οΈ by KubrickCode
Keep your logs organized, keep your code clean!