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

````

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系统目录的位置。

一般这个目录文件比较大,所以修改这个文件则可以

修改后:


这样就可以把原来默认目录下的文件删除掉,减少C盘的空间

具体请查看官网文档:

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容