Grep Console Plugin: Features, Installation, and Usage Guide
This article introduces the Grep Console IntelliJ IDEA plugin, outlines its key features for log filtering and styling, provides step‑by‑step instructions for online and offline installation, explains detailed configuration options, and demonstrates practical usage with example code and screenshots.
1. Introduction
Grep Console is an IntelliJ IDEA plugin that helps developers manage console output logs by providing customizable filtering rules and personalized styling for different log levels.
2. Features
Support custom rules to filter log information.
Allow personalized configuration of output styles for different log levels.
By using filtering and output style configuration, developers can quickly locate the logs they care about among massive log output.
3. Download
Official download address: https://plugins.jetbrains.com/ . Search for "Grep Console" in the plugin marketplace to reach the download page.
4. Installation
4.1 Online Installation
Requires internet access. Navigate file → settings → plugins → browse repositories , search for "grep console", click install , and restart IDEA.
4.2 Offline Installation
When internet is unavailable, download the plugin package matching your IDEA version from the official site (e.g., version 9.6.162.000.1 ) and install it via file → settings → plugins → install plugin from disk , then restart IDEA.
4.3 Uninstall Plugin
Open file → settings → plugins , search for "grep console", and click uninstall .
5. Usage
5.1 Configuration
Two ways to open the configuration UI: file → other settings → grep console or click the small icon on the console toolbar after the project starts.
The main configuration sections are:
Input Filtering : define expression (regex), unless expression , whole line , case insensitive , action (remove, keep, etc.), continue matching , clear console , sound .
Highlighting & Folding : similar regex options plus bold , italic , background , foreground , statusbar count , console count , fold , sound .
5.2 Practical Demo
Example repository: https://gitcode.net/fox9916/fanfu-web.git (branch grep-console-test ).
Three scheduled tasks output INFO‑level logs. Configuration requirements include matching whole lines, case‑insensitive matching, and setting background colors: yellow for EatTask , green for DrinkTask , blue for SportTask .
After starting the project, logs can be filtered by right‑clicking a log entry (e.g., com.fanfu.task.EatTask ) and selecting “Grep” to view matching logs in a separate window, or “Add highlight” to mark them.
6. Summary
The Grep Console plugin greatly simplifies log analysis by allowing developers to filter, highlight, and manage console output, making debugging faster and more efficient.
Top Architect
Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.