當前位置:編程學習大全網 - 編程語言 - IntelliJ IDEA 2022 自定義配置及系統文件 window

IntelliJ IDEA 2022 自定義配置及系統文件 window

默認IntelliJ IDEA產生在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

````

````

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

  • 上一篇:SDK是什麽
  • 下一篇:玫瑰花葉子的鉤法視頻教程
  • copyright 2024編程學習大全網