IDEA 默认会在用户文件夹建立配置目录,这样就会占据C盘很大的空间ide
例如个人是2018.3版本的:idea
迁移 {用户目录}/.IntelliJIdea2018.1
文件夹到 D:/Java/JetBrains/.IntelliJIdea2018.1
修改 {IDEA目录}/bin/idea.properties
文件的内容以下:code
idea.config.path=D:/Java/JetBrains/.IntelliJIdea2018.3/config idea.system.path=D:/Java/JetBrains/.IntelliJIdea2018.3/system idea.plugins.path=${idea.config.path}/plugins idea.log.path=${idea.system.path}/log
IDEA目录能够从这里打开:
blog
重启搞定get
参考资料:io
Changing IDE default directories used for config, plugins, and caches storage Default IDE configuration directoryclass