IntelliJ IDEA2017 修改缓存文件的路径(转载:https://www.cnblogs.com/acm-bingzi/p/ideaCachePath.html)
来源:互联网 发布:高斯协方差矩阵 编辑:程序博客网 时间:2024/04/30 07:49
IDEA的缓存文件夹.IntelliJIdea2017.1,存放着IDEA的破解密码,各个项目的缓存,默认是在C盘的用户目录下,目前有1.5G大小。现在想要把它从C盘移出。
在IDEA的安装路径下中,进入bin目录后找到属性文件:idea.properties 用记事本打开,找到如下代码段:
1 #--------------------------------------------------------------------- 2 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 3 #--------------------------------------------------------------------- 4 # idea.config.path=${user.home}/.IntelliJIdea/config 5 6 #--------------------------------------------------------------------- 7 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 8 #--------------------------------------------------------------------- 9 # idea.system.path=${user.home}/.IntelliJIdea/system10 11 #---------------------------------------------------------------------12 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.13 #---------------------------------------------------------------------14 # idea.plugins.path=${idea.config.path}/plugins
需要注意,在IDEA2017中,默认这些配置是注释掉的,我在这可吃了大亏,没想到配置没有生效的原因是如此简单。
更改配置文件如下:
1 #--------------------------------------------------------------------- 2 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 3 #--------------------------------------------------------------------- 4 idea.config.path=E:/jiashubing/.IntelliJIdea/config 5 6 #--------------------------------------------------------------------- 7 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 8 #--------------------------------------------------------------------- 9 idea.system.path=E:/jiashubing/.IntelliJIdea/system10 11 #---------------------------------------------------------------------12 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.13 #---------------------------------------------------------------------14 idea.plugins.path=${idea.config.path}/plugins
更改了以后重启IDEA,会弹出如下界面Complete Installation,选择Previous version
此时,在目录下生成了一个.IntelliJIdea文件
此时把.IntelliJIdea2017.1删除了也可以,原来的项目也都能找得到
PS:初始缓存文件夹.IntelliJIdea2017.1的来历,之前安装的是IDEA2015,那时的缓存文件是.IntelliJIdea,后来将IDEA2015升级成了IDE2017,在同一个目录下生成了这个.IntelliJIdea2017.1文件夹。可能是IDEA内部的某种设置,如果文件中已经存在了.IntelliJIdea文件,就要在后面增加版本号后缀。
阅读全文
0 0
- IntelliJ IDEA2017 修改缓存文件的路径(转载:https://www.cnblogs.com/acm-bingzi/p/ideaCachePath.html)
- 文件下载,转载路径:http://www.cnblogs.com/xdp-gacl/p/3789624.html
- redis学习命令大全(转载https://www.cnblogs.com/woshimrf/p/5198361.html)
- MySQL中interactive_timeout和wait_timeout的区别(https://www.cnblogs.com/ivictor/p/5979731.html)
- JSON技术的调研报告(https://www.cnblogs.com/kunpengit/p/4001680.html)
- 转载logback简要用法 原文地址https://www.cnblogs.com/warking/p/5710303.html
- python随机数用法 转载自https://www.cnblogs.com/skyEva/p/6097157.html
- redis的使用(转载自:http://www.cnblogs.com/edisonfeng/p/3571870.html)
- https://www.cnblogs.com/sea-star/p/rtcp.html
- https://www.cnblogs.com/by-dream/p/5611555.html
- https://www.cnblogs.com/Y1Focus/p/6707121.html
- HTTPS://WWW.CNBLOGS.COM/ANDROID-JOKER/P/4414891.HTML https://www.cnblogs.com/android-joker/p/4414891
- 转载http://www.cnblogs.com/kenshincui/p/3931948.html
- 转载至http://www.cnblogs.com/dolphin0520/p/3919839.html
- 转载 http://www.cnblogs.com/feixuelove1009/p/5823135.html
- ServletConfig获取配置信息、ServletContext的应用https://www.cnblogs.com/smyhvae/p/4140877.html
- Intellij Idea 创建Web项目入门(一)http://www.cnblogs.com/yangyquin/p/5285272.html
- GridView的上拉加载下拉刷新实现(转载至http://www.cnblogs.com/wbp0818/p/5424339.html)
- SolrCloud集群搭建
- Codeforces Round #445 (Div. 2, based on Technocup 2018 Elimination Round 3)
- 自定义View之Paint
- mescroll.js API汇总
- 【ECS】云服务的磁盘管理
- IntelliJ IDEA2017 修改缓存文件的路径(转载:https://www.cnblogs.com/acm-bingzi/p/ideaCachePath.html)
- JAVA | 22
- QT如何通过文本框选择文件(图像、视频)
- cookie和session之自己的理解
- dualpal
- FPGA入门实验四:时间基准电路 和 带使能的多周期计数器
- Java —— try-catch-finally-return的执行顺序
- mysql-5.7.18安装,启动MySQL服务
- 详谈Python爬虫代理设置