1,問(wèn)題,在為idea在線安裝插件時(shí),如JProfiler,會(huì)默認(rèn)安裝到C盤,而本人則是希望安裝到軟件所在的D盤目錄下,那么如何修改呢:
C:\Users\xxx.IntelliJIdea\config\plugins
2,修改方法:
打開(kāi)IntelliJ IDEA的安裝目錄,如本人的為 D:\JetBrains\IntelliJ IDEA 2018.2
然后在bin目錄下找到 idea.properties 文件,
分別修改如下的兩行配置代碼:
# idea.system.path=${user.home}/.IntelliJIdea/config
# idea.system.path=${user.home}/.IntelliJIdea/system
去掉注釋,修改后為
idea.config.path=D:/JetBrains/IntelliJ IDEA 2018.2/.IntelliJIdea/config
idea.system.path=D:/JetBrains/IntelliJ IDEA 2018.2/.IntelliJIdea/system
3,重新啟動(dòng)idea,如果想使用原來(lái)的配置和下載的插件,可以將原來(lái)C盤(C:\Users\xxx.IntelliJIdea)對(duì)應(yīng)的文件
拷貝到D盤(idea.config.path=D:/DevEnv/JetBrains/IntelliJ IDEA 2018.2/.IntelliJIdea)即可