idea修改配置 插件存放路径
找到idea.properties,并且修改成你要存放的位置
在idea的安装目录D:\javaIdea2020.1.2\IntelliJ IDEA 2020.1.2\bin里找到idea.properties,用文本编辑器打开
# 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}/.IntelliJIdea/config
#这一行
idea.config.path=D:/Users/Sunshine/.IntelliJIdea/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}/.IntelliJIdea/system
#这一行
idea.system.path=D:/Users/Sunshine/.IntelliJIdea/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=${idea.config.path}/plugins
#这一行
idea.plugins.path=D:/Users/Sunshine/.IntelliJIdea/config/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
#修改这四行
idea.log.path=D:\Users\Sunshine\.IntelliJIdea\log
或者下载这个windows文件资源管理软件,直接搜索idea.properties
链接: https://www.listary.com/
把默认配置的文件粘贴到修改的位置
2020.1版本的idea,默认config,system,log目录在图1,plugins目录在config目录里面
图1
修改之后
重启idea,看之前的配置,插件是否还完好