简体   繁体   中英

Display Intellij Compilation warning

我正在使用Scala插件运行Scala应用程序,就在IntelliJ编译阶段结束时,向我显示了一些编译警告,但是第二次应用程序开始在消息窗口运行所有警告时,会被应用程序结果,日志等覆盖。在IntelliJ中还有其他地方可以看到编译结果或其他读取方式吗?

Compiler warnings are displayed in the Messages tool window, application output is displayed in Run or Debug tool window.

You can switch to the Messages tool window to see the compiler warnings.

Note that IDE performs Build before Run, if you have already built the project and observed the warnings, the next Build will not produce any compiler warnings since the code is already compiled and compiler doesn't run again without any changes in the code.

To see the warnings again make some change in the code and invoke Run . The warnings will appear again in Messages ( Alt + 0 ).

If there are no warnings/errors reported by the compiler (because your code is clean or because the code was already compiled during the previous run), Messages tool window will not appear.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM