The advantage of the Grep Console-plugin is that when the console outputs logs, you can directly modify the rules defined in the plugin, or you can output different colors according to the rules you define. In this way, the error information can be marked in a conspicuous color, which is convenient for viewing, improves the ability to find bugs , and can also filter log information on the console.
1. Here I only show downloading in the idea, you can also download the plug-in on the official website, and import it. In the idea File→Settings→Plugins
, enter grep console
, download and restart the idea.
2. After the installation is successful File→Settings→Other Settings
, find Grep Console
, Highlighting & Folding
you can configure the default rules of the plug-in, or you can right-click to add custom rules.
3. The output effect is as follows:
4. In console面板
, right-click to select Grep
, you can enter the console log filtering interface, you can filter the output logs according to keywords, and you can directly enter Grep Console
the panel on the right.
5. Other functions are not available yet and need to be developed~
日志管理神器-bug绕着走
记录每一个学习瞬间