Registryvsx-chakrounanasturbo-console-log

@vsx-chakrounanas/turbo-console-log

Public
VSX CompatibleOXP Native: Planned

// 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.

Join the Newsletter


##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.

Contribute on GitHub


##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.

Extension ID
chakrounanas.turbo-console-log

If 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.2k
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