IntelliJ IDEA2020-自定义配置和缓存位置以及数据迁移

1 数据转移步骤

1.1 system配置位置

C:\Users\xxx\AppData\Roaming\JetBrains

例如:C:\Users\Administrator\AppData\Roaming\JetBrains
image-20210115101535725.png

1.2 config配置位置

C:\Users\用户名\AppData\Local\JetBrains

例如:C:\Users\Administrator\AppData\Local\JetBrains
image-20210115101133420.png

1.3 迁移数据

1.3.1新建迁移目录

xxx\.IntelliJIdea
例如:D:/.IntelliJIdea

目录下新建config和system文件夹

image-20210115101324918.png

1.3.2 迁移config

以迁移IntelliJIdea2020.3版本为例,将C:\Users\Administrator\AppData\Roaming\JetBrains\IntelliJIdea2020.3的所有文件拷贝到D:/.IntelliJIdea/config文件夹下面

1.3.3 迁移 system

以迁移IntelliJIdea2020.3版本为例,将C:\Users\Administrator\AppData\Local\JetBrains\IntelliJIdea2020.3的所有文件拷贝到D:/.IntelliJIdea/system文件夹下面

2 修改配置文件

#---------------------------------------------------------------------
# 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
idea.config.path=D:/.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
idea.system.path=D:/.IntelliJIdea/.IntelliJIdea/system

3 重启IDEA

重启IDEA

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容