修改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,则说明修改成功。

打赏

免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2022 CODEPRJ.COM