复制 C:\Users\.IntelliJIdea2020 到 D:/Software/Users\.IntelliJIdea2020
————————————————
idea安装目录的bin \ idea.properties文件:
idea.config.path =D:/Software/Users\.IntelliJIdea2020/config
idea.system.path =D:/Software/Users\.IntelliJIdea2020/system
idea.plugins.path=${idea.config.path}/plugins
idea.log.path =${idea.system.path}/log
————————————————
变动说明(以idea为例):
文件 2020前 2020起
idea.config.path(Roaming) ${user.home}/.IntelliJIdea2020.1/config ${user.home}/AppData\Roaming\JetBrains\IntelliJIdea2020.1
idea.system.path(Local) ${user.home}/.IntelliJIdea2020.1/system ${user.home}/AppData\Local\JetBrains\IntelliJIdea2020.1
————————————————
清除掉c盘/config下的文件(idea:里面的 idea64.exe.vmoptions 可以删除!, pycharm里面的 .exe.vmoptions 可以删除!)
清除掉c盘/system下的文件
————————————————
————————————————
重启idea, 注意最好不要Invalidate and Restart,这样会清除掉历史项目
————————————————
删除 C:\Users\.IntelliJIdea2020中的文件,注意:idea64.exe.vmoptions 必须保留 (pycharm移动的话可以删除!)
————————————————
对于 mklink /J “JetBrains” “目标磁盘目录\JetBrains” 这种方式没试成功