How to clean project cache in Intellij idea like Eclipse's clean?

后端 未结 8 1860
孤街浪徒
孤街浪徒 2020-11-29 22:43

Sometimes the IDE makes some error because of the cache. In Eclipse, we can use clean to solve the problem. But how can I do this in IntelliJ?

8条回答
  •  无人及你
    2020-11-29 23:09

    Try this:

    Go into Settings (File > Settings or ctrl+alt+S). Under Project Settings, select the "Compiler" node. On the left, uncheck "Clear output directory on rebuild".

    Note that this is a per project setting. If desired, change it in the project template settigs (Settings > Other Settings > Template Settings).

提交回复
热议问题