迁移idea

1、在idea目录下(和bin同级)新建目录:.IntelliJIdea,然后在.IntelliJIdea下新建system和config目录
2、迁移原有的.IntelliJIdea,默认的位置如下:

system:

C:\Users\<用户名>\AppData\Local\JetBrains\IntelliJIdea2021.3

将上面目录下所有文件拷贝到system下

config:

C:\Users\<用户名>\AppData\Roaming\JetBrains\IntelliJIdea2021.3

将上面目录下所有文件拷贝到config下

3、修改bin\idea.properties

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the settings directory.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.IntelliJIdea/config
idea.config.path=${idea.home.path}/.IntelliJIdea/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
idea.system.path=${idea.home.path}/.IntelliJIdea/system

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=${idea.config.path}/plugins

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=${idea.system.path}/log
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容