Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LoglessJSNew to Visual Studio Code? Get it now.
LoglessJS

LoglessJS

kripp

|
9 installs
| (0) | Free
Effortlessly clean your code by removing or commenting out console.log, console.error, and debug statements. Features selective actions (Remove/Comment), smart syntax detection, and multi-framework support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LoglessJS 🧹

LoglessJS Banner

LoglessJS is the ultimate tool for keeping your JavaScript and TypeScript projects clean. Effortlessly remove or comment out console logs, errors, and debug statements with a single click or keyboard shortcut.

"Clean code is happy code."

✨ Features

  • 🚀 One-Click Cleaning: Automatically detects console.log, console.error, and more in your active file.
  • 🎯 Selective Control: Choose exactly which types of logs to remove (e.g., remove log but keep error).
  • 💬 Comment Mode: Not ready to delete? Comment out your logs with /* ... */ instead.
  • 📊 Status Bar Integration: See a live count of logs in your file at a glance.
  • ⚡️ Real-Time Updates: Status updates instantly as you type.

📸 How It Works

1. Detect Logs Automatically

As soon as you open a JavaScript or TypeScript file, LoglessJS scans for logs. You'll see a handy status indicator in the bottom right:

Status Bar Mockup

2. The Power Menu

Click the status bar item or press Cmd+Opt+L (Mac) / Ctrl+Alt+L (Win/Linux) to open the control menu.

Step 1: Select Types Choose which console methods you want to target.

Menu Mockup

Step 2: Choose Action Decide whether to Remove them permanently or Comment them out.

Action Menu Mockup

⌨️ Shortcuts

Platform Shortcut Action
Mac Cmd + Option + L Open LoglessJS Menu
Windows Ctrl + Alt + L Open LoglessJS Menu
Linux Ctrl + Alt + L Open LoglessJS Menu

(Note: You can customize this in VS Code Keyboard Shortcuts)

📦 Supported Log Types

LoglessJS supports all standard console methods:

  • console.log()
  • console.error()
  • console.warn()
  • console.info()
  • console.debug()

🔧 Installation

  1. Open VS Code.
  2. Go to the Extensions view (Cmd+Shift+X / Ctrl+Shift+X).
  3. Search for LoglessJS.
  4. Click Install.

Enjoy a cleaner codebase! If you like this extension, please leave a generic review! ⭐️⭐️⭐️⭐️⭐️

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft