idea切换缓存目录
IDEA缓存目录配置
1、找到默认的配置目录:
- Local目录下对应:缓存,日志
- Roaming目录下对应:配置,插件
C:\Users\用户名\AppData\Local\JetBrains\IntelliJIdea2020.1
C:\Users\用户名\AppData\Roaming\JetBrains\IntelliJIdea2020.1
2、创建自定义的缓存目录
-
目录下创建config文件夹:对应Local
-
创建system文件夹:对应Roaming

#把对应IntelliJIdea2020.1下的所有文件,分别转移到 config,system目录下
D:\datas\.IntelliJIdea\config
D:\datas\.IntelliJIdea\system
3、在idea安装目录下的bin目录找到配置文件
-
配置 ideal.properties 文件(注意路径的反斜杠 "/")
# idea.config.path=${user.home}/.IntelliJIdea/config #配置目录 idea.config.path=D:/datas/.IntelliJIdea/config # idea.system.path=${user.home}/.IntelliJIdea/system #缓存目录 idea.system.path=D:/datas/.IntelliJIdea/system # idea.plugins.path=${idea.config.path}/plugins #插件目录 idea.plugins.path=D:/datas/.IntelliJIdea/config/plugins # idea.log.path=${idea.system.path}/log #日志目录 idea.log.path=D:/datas/.IntelliJIdea/system/log
我是菜鸡啊

浙公网安备 33010602011771号