之前使用idea13,使用过程中发现C盘的缓存文件不断的增大,加之最近13突然出现问题,于是果断卸载重装个14,装上之后更改缓存目录,以免再次占用系统盘空间。
更改缓存目录需要修改配置文件。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. #---------------------------------------------------------------------
安装后这几个选项默认是屏蔽掉的,如果需要自定义需要放开设置好路径,注释也有提示需要注意斜杠的使用。
时间: 2024-10-04 23:22:17