IDEA 修改配置文件的位置:
妳安裝軟件bin的同級目錄下:
eg:
````
# Use ${idea.home.path} 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)
.#--------------------------------------------------------------------
-# 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}/.IdeaIC/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}/.IdeaIC/system
````
````
Syntax%APPDATA%JetBrains
ExampleC:UsersJohnSAppDataRoamingJetBrainsIntelliJIdea2022.1
````
您可以使用IDEA .config.path屬性更改IntelliJ IDEA配置目錄的位置。
````
Syntax%LOCALAPPDATA%JetBrains
ExampleC:UsersJohnSAppDataLocalJetBrainsIntelliJIdea2022.1
````
您可以使用IDEA .system.path屬性更改IntelliJ IDEA系統目錄的位置。
壹般這個目錄文件比較大,所以修改這個文件則可以
修改後:
這樣就可以把原來默認目錄下的文件刪除掉,減少C盤的空間
具體請查看官網文檔:
/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory