IntelliJ IDEA默認的配置文件目錄在C盤用戶目錄下,如.IdeaIC2019.2,內容如下
默認放在C盤佔用系統盤空間,而且一旦重裝系統之後,所有的配置信息都丟失了,所以建議更改位置。
更改位置的方法
在安裝目錄的bin下打開IDEA配置文件idea.properties,把註釋#去掉修改以下位置即可
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.config.path=F:/.IdeaIC/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=F:/.IdeaIC/system