修改IntelliJ IDEA 缓存文件位置

  (1)打开安装路径的属性文件
  我的安装路径是:D:\JetBrains\IntelliJ IDEA 15.0.4,打开路径下的bin文件夹,找到idea.properties文件。
  (2)修改属性配置
  用notepad++或记事本等打开idea.properties文件,找到配置信息中有${user.home}的字段,如idea.config.path,idea.system.path:

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.IntelliJIdea/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system

  将${user.home}修改成你想存放的路径,注意去掉字段前面的井号”#”:

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.config.path=D:/JetBrains/.IntelliJIdea/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
idea.system.path=D:/JetBrains/.IntelliJIdea/system

  (3)查看路径
  如果路径D:/JetBrains出现文件夹.IntelliJIdea,则说明修改成功。

猜你喜欢

转载自www.cnblogs.com/liujie-php/p/12806527.html
今日推荐