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

DeLogify

Krish Prajapati

|
4 installs
| (2) | Free
DeLogify is a lightweight and effective VS Code extension that automatically removes all console.log() statements from your JavaScript and TypeScript files with just one command.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DeLogify – Instantly Remove Console Logs

DeLogify is a lightweight and effective VS Code extension that automatically removes all console.log() statements from your JavaScript and TypeScript files with just one command.


🚀 What Does DeLogify Do?

  • Removes all console.log() statements from your code with a single command.
  • Works with .js, .ts, .jsx, and .tsx files.
  • Triggered via the Command Palette: “Remove Console Logs”.
  • Zero dependencies, lightning-fast.

🛠️ How It Works

  1. Run the command Remove Console Logs from the Command Palette.
  2. DeLogify reads the active file's content.
  3. It removes all lines matching the regex:
    /^\s*console\.log\(.*?\);?\s*$/
    
  4. Writes the cleaned content back to the file.
  5. Shows a confirmation message:
    ✅ All console.log statements removed!

✨ Features

  • Remove all console.log() lines in one click.
  • Works with .js, .ts, .jsx, and .tsx files.
  • Integrated into the Command Palette.
  • Shows a success toast after action.
  • Zero dependencies – lightning-fast.

📁 Example

Before:

console.log("Loaded file");
function greet(name) {
  console.log("Greeting:", name);
  return `Hello, ${name}`;
}

After:

function greet(name) {
  return `Hello, ${name}`;
}


⚙️ Requirements

There are no requirements or dependencies. Just install and use!


⚙️ Extension Settings

This extension does not add any new VS Code settings at this time.


🐞 Known Issues

There are no known issues at this time.
Please report any bugs or feature requests via GitHub Issues.


📝 Release Notes

1.0.0

  • Initial release of DeLogify.
  • Instantly remove all console.log statements.

💡 For Extension Developers

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux)
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux)
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets

📚 For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy using DeLogify!

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