@vsx-chakrounanas/turbo-console-log
Public// Description
Automated logging for JavaScript, TypeScript, and PHP. Insert, manage, and clean log messages with AST-powered precision.
// Readme
Open VSX#Turbo Console Log ๐
Official Website | Turbo Pro | GitHub Repository
##Automated Logging for JavaScript, TypeScript, Python, and PHP
Turbo Console Log transforms debugging in JavaScript, TypeScript, Python, and PHP. It's built for developers who refuse to waste time manually typing log statements or hunting them down across dozens of files.
###Two Editions
Turbo Console Log Community ๐
Single-file debugging for JavaScript, TypeScript, Python, and PHP. Insert, comment, uncomment, and delete logs with keyboard shortcuts. Uses AST parsing to place logs correctly, even in complex code structures.
Turbo Console Log Pro ๐
The other half of Turbo โ Pro automatically removes the debug logs in your staged changes the moment you commit, previewed first, with the scope under your control (limit it to Turbo's own logs with ๐ Turbo Logs Only). Plus a workspace-wide tree view, instant search, and git-aware filtering across JavaScript, TypeScript, Python, and PHP.
###๐งน Never Commit a Debug Log Again
Auto-cleanup on commit is here. Turbo Pro now removes the debug logs in your staged changes automatically, the moment you commit โ previewed first, so a stray console.log never slips into a PR again. Turbo puts the logs in; Pro takes them out โ before every commit.
Read the full announcement โ
##Community Version Features ๐
The free version provides intelligent log insertion in your active editor:
###โจ Smart Log Insertion
- โบAST-Powered Precision โ Logs are placed correctly based on code structure, handling complex patterns like ternaries, destructuring, and nested expressions
- โบ7 Console Methods (JS/TS) โ Dedicated commands for
console.log,console.info,console.debug,console.warn,console.error,console.table, and custom log functions - โบPython Methods โ Support for
print(),logging.debug(),logging.info(),logging.warning(),logging.error(), and custom Python logging functions - โบPHP Methods โ Support for
var_dump(),print_r(),error_log(), and custom PHP logging functions - โบIndividual Shortcuts โ Each method has its own keyboard shortcut (โK combinations)
- โบMulti-Cursor Support โ Insert logs for multiple variables simultaneously
- โบCustomizable Format โ Configure prefixes, quotes, spacing, and context information
###๐ ๏ธ Log Management (Active Editor)
- โบComment All Logs โ Comment out all logs in the current file
- โบUncomment All Logs โ Restore previously commented logs
- โบDelete All Logs โ Remove all logs from the current file
- โบCorrect Log Messages โ Update file names and line numbers after refactoring
Best for: Single-file work, small projects, and everyday debugging tasks
###โจ๏ธ Keyboard Shortcuts
JavaScript / TypeScript
- โบ
โK โL(Ctrl+K Ctrl+L on Windows/Linux) โ Insert console.log - โบ
โK โEโ Insert console.error - โบ
โK โRโ Insert console.warn - โบ
โK โNโ Insert console.info
Python
- โบ
โK โL(Ctrl+K Ctrl+L on Windows/Linux) โ Insert print() - โบ
โK โBโ Insert logging.debug() - โบ
โK โNโ Insert logging.info() - โบ
โK โRโ Insert logging.warning() - โบ
โK โEโ Insert logging.error()
PHP
- โบ
โK โL(Ctrl+K Ctrl+L on Windows/Linux) โ Insert var_dump() - โบ
โK โNโ Insert print_r() - โบ
โK โB/โK โEโ Insert error_log()
Log Management (all languages)
- โบ
Alt+Shift+Dโ Delete all logs in current file - โบ
Alt+Shift+Cโ Comment all logs in current file - โบ
Alt+Shift+Uโ Uncomment all logs in current file - โบ
Alt+Shift+Xโ Correct log messages (update file names & line numbers)
Full Documentation: Turbo Console Log Docs
##โ๏ธ Configuration
Both editions are fully customizable through VS Code settings. Access via Preferences > Settings and search for "Turbo Console Log".
###Log Message Format
- โบ
logMessagePrefixโ Customize the prefix (default:๐) - โบ
logMessageSuffixโ Customize the suffix (default::) - โบ
delimiterInsideMessageโ Separator between log elements (default:~) - โบ
quoteโ Quote style:"(double),'(single), or`(backticks) - โบ
wrapLogMessageโ Wrap log messages in curly braces
###Context Information
- โบ
includeFilenameโ Add file name to log output - โบ
includeLineNumโ Add line number to log output - โบ
insertEnclosingClassโ Include class name in logs (default:true) - โบ
insertEnclosingFunctionโ Include function name in logs (default:true)
###Spacing & Formatting
- โบ
insertEmptyLineBeforeLogMessageโ Add blank line before logs - โบ
insertEmptyLineAfterLogMessageโ Add blank line after logs - โบ
addSemicolonInTheEndโ Append semicolon to log statements
###Custom Logging
- โบ
logFunctionโ Custom log function name for the "Insert Custom Log" command (default:log)
###Notifications & Telemetry
- โบ
logCorrectionNotificationEnabledโ Show notifications when logs are corrected - โบ
isTurboTelemetryEnabledโ Anonymous usage analytics (respects VS Code global settings)
Full Settings Documentation: Settings Guide
##Turbo Pro Features ๐
Pro closes the loop the free extension opens: it removes the debug logs in your changed lines โ automatically, the moment you commit. Every other tool just flags stray logs and hands the work back to you. Turbo removes them โ with a live preview before every commit, and the scope under your control: clean every matching log, or limit it to the ones Turbo inserted.
Best for: Anyone who commits code and never wants a stray debug log to slip into a PR again
###๐งน Auto-Cleanup on Commit
Never commit a debug log again. When you commit, the debug logs in your staged changes are removed automatically โ before they ever reach the commit.
- โบCleans every matching log in your changed lines by default โ or limit it to Turbo's own logs with ๐ Turbo Logs Only
- โบWorks for editor commits and terminal commits (via an optional pre-commit hook)
- โบSkips files with unstaged or unsaved changes, so it never touches work you didn't mean to commit
- โบConfirm with a live preview: Remove & Commit, or keep them with Commit Anyway
###๐ Live Cleanup Preview
See exactly what will be removed before you commit. The Auto-Cleanup Preview panel lists every log queued for removal, grouped by file, so there are no surprises in your diff.
- โบReview staged vs. pending logs at a glance
- โบClick any entry to jump straight to its line in the code
###๐ฒ Workspace Log Explorer
Get a complete view of all logs in your project. The workspace explorer displays every log across all files in a native VS Code tree view.
- โบNavigate your entire workspace's logs from one panel
- โบClick any log to jump directly to its location in the code
- โบHandles large codebases efficiently (hundreds or thousands of files)
###๐งน Mass Cleanup Operations
Delete logs across multiple files at once. Select which log types to remove and the scope (workspace, folder, or file).
- โบChoose specific types:
console.log,console.error,console.warn, or all types - โบSet scope: entire workspace, specific folder, or single file
- โบProcess hundreds of logs quickly and reliably
###๐ฏ Real-Time Filtering
Filter logs by type to focus on what matters. Toggle log types and the tree view updates instantly.
- โบFilter by: log, error, warn, info, debug, table
- โบUpdates immediately without re-scanning
- โบColor-coded for quick visual identification (๐ฆ log, ๐ฅ error, ๐จ warn, ๐ฉ info, ๐ช debug, ๐ table)
###๐ Instant Search
Find any log by content in seconds. Type the keyword, see matching logs instantly, click to jump to the exact line.
- โบNo grep, no scrolling through files, no memory required
- โบSearch across your entire workspace
- โบResults update as you type
###๐ Multi-Language Support
Pro recognizes JavaScript, TypeScript, Python, and PHP logs in one unified view:
- โบJavaScript/TypeScript: All console methods and a custom log method from the settings
- โบPython:
print(),logging.debug(),logging.info(),logging.warning(),logging.error(), and a custom log method from the settings - โบPHP:
var_dump(),print_r(),error_log(), and a custom log method from the settings - โบCustom Functions: Your own logging functions, any language
###โจ Enhanced Experience
- โบContext Actions: Right-click any log for quick actions (comment, delete, correct)
- โบAuto-Correction: Automatically updates file names and line numbers after refactoring
- โบHide Logs: Temporarily hide logs by pattern, file, or folder
- โบSmart Detection: Recognizes both Turbo-generated logs and manually written console statements
###๐ Pro License Details
- โบโ Lifetime access โ One-time purchase, use forever
- โบโ Up to 5 machines โ Activate on multiple devices
- โบโ All future updates โ Includes all future features and improvements
- โบโ Priority email support โ Direct support at support@turboconsolelog.io
One-time payment, no subscription required.
See Pro in Action | Upgrade to Pro
##โ๏ธ Newsletter
Get updates on new features, releases, and Pro feature announcements.
##Contact
Support: support@turboconsolelog.io
Feedback: feedback@turboconsolelog.io
Sponsorship: sponsorship@turboconsolelog.io
##Contribute
Contributions are welcome! Report bugs, suggest features, or submit pull requests.
##License
Turbo Console Log is released under the Turbo Unicorn Custom License.
Free for personal and non-commercial use. Commercial use, redistribution, and Pro features are protected.
See the full LICENSE for details.
// Install
Open this extension directly in your IDE โ no CLI, no extra tools.
chakrounanas.turbo-console-logIf your IDE doesn't open automatically, copy the ID above and paste it into the Extensions view (โP โ ext install <id>).
// Source signals
- Publisher
- Verified โ
- Rating
- 2.0 (1)
- Downloads
- 456.6k
- Published
- 2026-07-01
- License
- SEE LICENSE IN LICENSE.txt
- Source
- repo
- Homepage
- link
Live from open-vsx.org. Refreshed hourly.
// Are you the author?
This listing is mirrored from Open VSX. Claim it to ship a native OXP build, customise the page, and respond to reviews.
Claim this listing// Package Info
- Version
- 3.22.0
- Owner
- @vsx-chakrounanas
- Downloads
- 390.3k
- Stars
- 0