1. 程式人生 > >6.05-Idea的基本設定

6.05-Idea的基本設定

1、修改idea快取檔案位置(修改後需要重新破解;也可以將原來的快取複製到想要存放的位置,這樣就不需要破解了)

    1.1、找到idea.properties(在idea安裝目錄的bin目錄中),用記事本開啟,找到如下的程式碼

#---------------------------------------------------------------------
# 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

    1.2、配置自己想要存在的位置

#---------------------------------------------------------------------
# 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
idea.config.path=D:/AppTools/Idea/IdeaIU/cache/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
idea.system.path=D:/AppTools/Idea/IdeaIU/cache/system

2、設定idea的記憶體大小

    2.1、找到idea64.exe.vmoptions (64位的)或者idea.exe.vmoptions(32位的)

可以根據個人電腦配置對idea下面的引數進行記憶體的配置:

3、設定idea構建堆的大小

    3.1、在 Build process heap size 中設定值