Intellij IDEA 14.0修改配置路徑
阿新 • • 發佈:2019-01-30
安裝完IntelliJ IDEA之後,預設會在windows的系統盤使用者資料夾中建立配置等檔案,而且預設儲存在C盤,會造成C盤檔案越來越多,影響系統執行速率,如何將配置遷移到非系統盤呢,很簡單,以E盤為例:
找到安裝路徑找到安裝路徑下有個屬性檔案idea.properties(比如:D:\Program Files\JetBrains\IntelliJ IDEA 14.0.3\bin),開啟此檔案,前面三行就說了:
# Use ${idea.home} macro to specify location relative to IDE installation home. # Use ${xxx} where xxx is any Java property (including defined in previous lines of this file) to refer to its value. # Note for Windows users: please make sure you're using forward slashes (e.g. c:/idea/system).
修改這四行配置,如下:
重啟IntelliJ IDEA,即可!#--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.config.path=E:/IntelliJ IDEA/.IntelliJIdea14/config #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.system.path=E:/IntelliJ IDEA/.IntelliJIdea14/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=E:/IntelliJ IDEA/.IntelliJIdea14/plugins #--------------------------------------------------------------------- # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes. #--------------------------------------------------------------------- idea.log.path=E:/IntelliJ IDEA/.IntelliJIdea14/system/log