idea更改缓存路径
- idea的默认缓存路径是在
C:\Users\Administrator\.IntelliJIdeaxxxxx
,后面会越来越大;持续占用C盘空间;还是换到其他盘存储好点。 - 打开idea的安装目录找到
bin/idea.properties
文件,打开修改四个配置即可
#---------------------------------------------------------------------
idea.config.path=F:/ideaCaches/.IntelliJIdea2017.2/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:/ideaCaches/.IntelliJIdea2017.2/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.plugins.path=F:/ideaCaches/.IntelliJIdea2017.2/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.log.path=F:/ideaCaches/.IntelliJIdea2017.2/log
- 之前的数据也可以平滑的迁移过来(比如idea的各种插件之类的,放到对应目录即可)。