IntelliJ IDEA入门(二)配置文件目录更改

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章