Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>qt-log-removerNew to Visual Studio Code? Get it now.
qt-log-remover

qt-log-remover

sanecodeguy

|
11 installs
| (0) | Free
Removes Qt debug logs (qDebug, qWarning, etc.)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

QT/QML Log Remover

This Visual Studio Code extension removes all Qt log statements like qDebug(), qWarning(), qCritical(), and qInfo() from C++ source files.

Features

  • Removes single-line and multi-line Qt log statements.
  • Supports qDebug(), qWarning(), qCritical(), and qInfo().
  • Automatically cleans up empty lines left behind.
  • Right-click in the editor and select "Remove Qt Logs" to activate.

Supported Formats

  • C++ .cpp, .h, and .qml files using Qt logging macros.

How to Use

  1. Open a C++ or QML file.
  2. Right-click anywhere in the editor.
  3. Click "Remove Qt Logs" from the context menu.

Demo

Demo

Known Limitations

  • Currently optimized for common log patterns.
  • Some highly complex/macro-wrapped logs may require future enhancement.

Developed with ❤️ by sanecodeguy

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