今天在查看C盤,發現雖然我idea安裝在了D盤,但是idea的緩存還是在C盤
config
目錄是 IntelliJ IDEA 個性化化配置目錄,或者說是整個 IDE 設置目錄。也是我個人認為最重要的目錄,沒有之一,如果你還記得安裝篇的介紹的時候,安裝新版本的 IntelliJ IDEA 會自動掃描硬盤上的舊配置目錄,指的就是該目錄。這個目錄主要記錄了:IDE 主要配置功能、自定義的代碼模板、自定義的文件模板、自定義的快捷鍵、Project 的 tasks 記錄等等個性化的設置。system
目錄是 IntelliJ IDEA 系統文件目錄,是 IntelliJ IDEA 與開發項目一個橋梁目錄,里面主要有:緩存、索引、容器文件輸出等等,雖然不是最重要目錄,但是也是最不可或缺目錄之一。
現在來修改:打開idea的安裝路徑下的bin文件夾
修改idea.properties的配置
#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.config.path=D:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.1.3/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:/Program Files (x86)/JetBrains/IntelliJ IDEA 2016.1.3/system #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.plugins.path=${idea.config.path}/plugins #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.log.path=${idea.system.path}/log
再遷移C盤的數據到對應的位置即可。
http://wiki.jikexueyuan.com/project/intellij-idea-tutorial/installation-directory-introduce.html