IntelliJ IDEA 2022 自定義配置及系統(tǒng)文件 window

默認(rèn)IntelliJ IDEA產(chǎn)生在C盤文件 的位置

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

````

Configuration directory

````

Syntax%APPDATA%JetBrains

ExampleC:UsersJohnSAppDataRoamingJetBrainsIntelliJIdea2022.1

````

您可以使用IDEA .config.path屬性更改IntelliJ IDEA配置目錄的位置。


System directory


````

Syntax%LOCALAPPDATA%JetBrains

ExampleC:UsersJohnSAppDataLocalJetBrainsIntelliJIdea2022.1

````

您可以使用IDEA .system.path屬性更改IntelliJ IDEA系統(tǒng)目錄的位置。

一般這個目錄文件比較大,所以修改這個文件則可以

修改后:


這樣就可以把原來默認(rèn)目錄下的文件刪除掉,減少C盤的空間

具體請查看官網(wǎng)文檔:

https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容