(1)打開安裝路徑的屬性文件
我的安裝路徑是:D:\JetBrains\IntelliJ IDEA 15.0.4,打開路徑下的bin文件夾,找到idea.properties文件。
(2)修改屬性配置
用notepad++或記事本等打開idea.properties文件,找到配置信息中有${user.home}的字段,如idea.config.path,idea.system.path:
#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.config.path=${user.home}/.IntelliJIdea/config #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- # idea.system.path=${user.home}/.IntelliJIdea/system
將${user.home}修改成你想存放的路徑,注意去掉字段前面的井號”#”:
#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.config.path=D:/JetBrains/.IntelliJIdea/config #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.system.path=D:/JetBrains/.IntelliJIdea/system
(3)查看路徑
如果路徑D:/JetBrains出現文件夾.IntelliJIdea,則說明修改成功。