Grep Console Plugin: Installation, Configuration, and Usage Guide
This article provides a comprehensive guide to the Grep Console IntelliJ IDEA plugin, covering its features, download links, online and offline installation methods, uninstallation steps, detailed configuration options for input filtering and highlighting, and a practical usage example.
Grep Console is an IntelliJ IDEA plugin that helps developers manage console output logs with customizable filtering and styling.
Features include custom rule-based log filtering and personalized output styles for different log levels.
Download : Visit the official JetBrains plugin repository at https://plugins.jetbrains.com/ and search for "Grep Console".
Installation offers two methods. Online installation requires internet access: go to file → settings → plugins → browse repositories , search for "grep console", click install, and restart IDEA. Offline installation involves downloading the plugin package matching your IDEA version (e.g., version 9.6.162.000.1 for IDEA 2018.2) from the website, then using file → settings → plugins → install plugin from disk and restarting IDEA.
Uninstallation is done via file → settings → plugins , searching for "grep console", and clicking uninstall.
Configuration can be opened either through file → other settings → grep console or by clicking the small icon on the console toolbar after the project starts.
The first major configuration area is input filtering , where you define regular expressions ( expression ), optional negation ( unless expression ), whole‑line matching, case insensitivity, actions (remove, keep, or none), continuation matching, console clearing, and sound alerts.
The second area is highlighting & folding , allowing you to set regular expressions, whole‑line matching, case insensitivity, continuation matching, and visual styles such as bold, italic, background color, foreground color, status bar count, console count, folding, and sound notifications.
Practical example : Using a sample project from https://gitcode.net/fox9916/fanfu-web.git (branch grep-console-test ), three scheduled tasks output INFO logs. The guide shows how to configure filters to match whole lines, ignore case, and assign distinct background colors (yellow for EatTask, green for DrinkTask, blue for SportTask). After running the project, logs appear with the specified styles, and right‑clicking a log entry allows you to open a dedicated window or add a highlight.
Summary : Grep Console greatly simplifies log analysis by letting developers filter, style, and isolate relevant log messages, making debugging more efficient.
Java Architect Essentials
Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow 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.