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 message icon and select Autoscroll to Source.
Save compilation messages to a text file
In the Messages tool window, select a message that you want to export or press Ctrl+A to select everything displayed in the tool window.
Right-click the selection and click Export to Text File.
In the Export Preview dialog, specify the path and target filename, and click Save.