An open API service indexing awesome lists of open source software.

https://github.com/stroller15/console-log-xray

a extension which scan console log from all your file and highlight in red so you can easily delete it
https://github.com/stroller15/console-log-xray

vscode-extension

Last synced: 12 months ago
JSON representation

a extension which scan console log from all your file and highlight in red so you can easily delete it

Awesome Lists containing this project

README

          

# Console Log X-Ray

**Console Log X-Ray** is a VS Code extension that helps developers quickly find and remove `console.log` statements before deploying their code. It highlights all `console.log` occurrences in red, making them easy to spot.

Xnapper-2025-02-07-00 56 27

## Features

- Highlights all `console.log` statements in red.
- Works in JavaScript and TypeScript files.
- Helps maintain clean production-ready code.
- Lightweight and efficient.

## Installation

1. Open **VS Code**.
2. Go to the **Extensions Marketplace** (`Ctrl+Shift+X` or `Cmd+Shift+X` on Mac).
3. Search for **Console Log X-Ray** or click [here](https://marketplace.visualstudio.com/items?itemName=consolelogxray.console-log-xray) to go directly to the extension.
4. Click **Install**.
5. Reload VS Code if necessary.

### ⚠️ First-time Installation Warning

Since this is the first time publishing this extension, you may see a **"Do you trust this publisher?"** pop-up when installing. Simply click **"Trust"** to proceed with the installation.

## Usage

1. Open any JavaScript or TypeScript file.
2. All `console.log` statements will be highlighted in red automatically.
3. Review and remove unnecessary `console.log` statements before deployment.

### Disabling the Extension Effect

If you want to temporarily disable the **Console Log X-Ray** effect without uninstalling the extension, simply reload the VS Code window:

1. Open **Command Palette** (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
2. Type **"Reload Window"** and select it.
3. The extension’s highlighting effect will be removed until again enable it.

This allows you to quickly toggle the effect without modifying any settings.

## Configuration

No additional configuration is required. The extension works out of the box.

## Contributing

If you’d like to contribute or report an issue, feel free to open an issue or submit a pull request in the repository.