以前使用idea13,使用過程當中發現C盤的緩存文件不斷的增大,加之最近13忽然出現問題,因而果斷卸載重裝個14,裝上以後更改緩存目錄,以避免再次佔用系統盤空間。
java
更改緩存目錄須要修改配置文件。IntelliJ IDEA 14.0.1\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=F:/java/IntelliJ IDEA 14.0.1/cache-config/.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=F:/java/IntelliJ IDEA 14.0.1/cache-config/.IntelliJIdea/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=F:/java/IntelliJ IDEA 14.0.1/cache-config/plugins #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.log.path=F:/java/IntelliJ IDEA 14.0.1/cache-config/log #--------------------------------------------------------------------- # Maximum file size (kilobytes) IDE should provide code assistance for. # The larger file is the slower its editor works and higher overall system memory requirements are # if code assistance is enabled. Remove this property or set to very large number if you need # code assistance for any files available regardless their size. #---------------------------------------------------------------------
安裝後這幾個選項默認是屏蔽掉的,若是須要自定義須要放開設置好路徑,註釋也有提示須要注意斜槓的使用。less