Idea占用C盘空间超过4G,主要是Idea的一些配置,一般位置在c://users/用户名/.IntelliJIdea版本号。
网上找了些资料,思路都是一样的,就是配置细节,大家还是按照各自的逻辑进行配置。
我这是将文件转移到了D:/data下面:
D:\data\.IntelliJIdea2018.3
修改idea.properties,路径:D:\Program Files\JetBrains\IntelliJ IDEA 2018.3.5\bin
ylc.idea.data.path=D:/data/.IntelliJIdea2018.3
idea.config.path=${ylc.idea.data.path}/config
idea.system.path=${ylc.idea.data.path}/system
idea.plugins.path=${idea.config.path}/plugins
idea.log.path=${idea.system.path}/log
这些原来是注释的,打开注释。ylc.idea.data.path是新增的环境变量,plugins和log是在config、system的下面。