Reviewing Compilation and Build Results
IntelliJ IDEA reports compilation and building results in the Messages tool window, which displays messages about errors and warnings. Each message is designated by an icon and may show a pair of numbers that represent the row and column where the problem occurred. To jump to the location of the problem in the source code, double-click the relevant message.
To automatically jump to the location of the problem every time you select the relevant message, right-click the Messages tool window and select Autoscroll to Source.
Save compilation messages to a text file
Right-click the Messages tool window and click Export to Text File.
In the Export Preview dialog, specify the path and target file name, and click Save.