安装完IntelliJ IDEA之后,默认会在windows的系统盘用户文件夹中创建配置等文件,而且默认保存在C盘,会造成C盘文件越来越多,影响系统运行速率,如何将配置迁移到非系统盘呢,很简单,以E盘为例:
找到安装路径找到安装路径下有个属性文件idea.properties(比如:D:\Program Files\JetBrains\IntelliJ IDEA 14.0.3\bin),打开此文件,前面三行就说了:
# Use ${idea.home} macro to specify location relative to IDE installation home.
# Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value.
# Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system).
修改这四行配置,如下:
#---------------------------------------------------------------------
# Uncomment this option if you want to