Transfer: idea point to use C drive space solution

Original text: http://my.oschina.net/ulyn/blog/125546 

 

After installing IntelliJ IDEA, configuration files are created in the user folder of the Windows system disk by default. In my only 32G SSD, how can I make it like this, it's unpleasant. . Occupy now almost 1G. All right. Got her out today.

    Find a properties file idea.properties in the installation path (for example: D:\IntelliJ IDEA\bin), open this file, the first three lines say:

# Use ${idea.home} macro to specify location relative to IDE installation home # Also 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. I.e. c:/idea/system

    You should know what it means by looking at the next four lines, for example: idea.config.path=${user.home}/.IntelliJIdea12/config

    Just modify it to the path you want to set. After modification, the final lines are as follows:

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes
#---------------------------------------------------------------------
idea.config.path=D: /IntelliJ IDEA/.IntelliJIdea12 /config
 
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes
#---------------------------------------------------------------------
idea.system.path=D: /IntelliJ IDEA/.IntelliJIdea12 /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=D: /IntelliJ IDEA/.IntelliJIdea12 /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=D: /IntelliJ IDEA/.IntelliJIdea12 /system/log

注意呀:纠结了好好久,怎么改了没效果,后面发现

?
1
#idea.config.path=D:/IntelliJ IDEA/.IntelliJIdea12/config

这多了个#号啊。要把这个#号去掉打开这行配置才行

    这下子可以把C盘占用的删除了!!!不过注意把以前配置好的转移备份

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327038533&siteId=291194637