Backend Development 7 min read

Grep Console Plugin: Features, Installation, Configuration, and Usage Guide

This guide introduces the Grep Console plugin for IntelliJ IDEA, detailing its features, download links, installation methods (online and offline), configuration options for log filtering and highlighting, and practical usage examples to help developers efficiently manage console output.

Selected Java Interview Questions
Selected Java Interview Questions
Selected Java Interview Questions
Grep Console Plugin: Features, Installation, Configuration, and Usage Guide

Grep Console is a convenient IntelliJ IDEA plugin that allows developers to personalize the management of console output logs.

Features: Custom rule-based log filtering, personalized output styles for different log levels, and the ability to highlight and fold logs based on regular expressions.

Download: The plugin can be downloaded from the official JetBrains plugins site ( https://plugins.jetbrains.com/ ) by searching for “Grep Console”.

Installation:

Online installation (recommended) requires internet access and can be performed via file→settings→plugins→browse repositories , then searching for “grep console”, clicking install, and restarting IDEA.

Offline installation is possible when internet access is unavailable: download the plugin package matching your IDEA version (e.g., version 9.6.162.000.1 for IDEA 2018.2) and install it via file→settings→plugins→install plugin from disk , then restart IDEA.

Uninstall the plugin through file→settings→plugins by searching for “grep console” and clicking uninstall.

Configuration:

The configuration interface can be opened via file→other settings→grep console or by clicking the small icon in the console toolbar after the project starts.

Key configuration areas include:

Input filtering: Define regular expressions ( expression ), inverse expressions ( unless expression ), whole‑line matching, case‑insensitivity, and actions such as remove or keep matched logs.

Highlighting & folding: Set expressions, whole‑line matching, case‑insensitivity, continuation matching, visual styles (bold, italic, background, foreground), status bar and console counters, folding, and sound alerts.

Practical example: Using a sample project ( https://gitcode.net/fox9916/fanfu-web.git branch grep-console-test ), three scheduled tasks output INFO‑level logs. Configuration is applied to match whole lines, ignore case, and assign background colors (yellow for EatTask, green for DrinkTask, blue for SportTask). After running the project, logs appear with the specified styles. Selecting a log entry (e.g., com.fanfu.task.EatTask ) and right‑clicking “Grep” opens a dedicated window showing only matching logs, while “Add highlight” marks them for easy identification.

Overall, Grep Console greatly simplifies locating relevant log information amidst extensive console output, making it a valuable debugging aid.

Backend DevelopmentIntelliJ IDEAlog filteringGrep Consoleplugin tutorial
Selected Java Interview Questions
Written by

Selected Java Interview Questions

A professional Java tech channel sharing common knowledge to help developers fill gaps. Follow us!

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.