IntelliJ IDEA12的解決佔用C盤C:\Users\Administrator

    在安裝完IntelliJ IDEA以後,默認會在windows的系統盤用戶文件夾中建立配置等文件。在我只有32G的SSD盤中,怎麼能讓它如此,不爽呀。。佔用到如今都快1G了。好吧。今天把她解決了。 java

    找到安裝路徑下有個屬性文件idea.properties(好比:D:\IntelliJ IDEA\bin),打開此文件,前面三行就說了: shell

# 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

    接下來四行中看看應該就知道什麼意思了,好比:idea.config.path=${user.home}/.IntelliJIdea12/config windows

    修改爲你要設置的路徑就行了,修改後最終這幾行以下: ide

#---------------------------------------------------------------------
# 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
注意呀:糾結了好很久,怎麼改了沒效果,後面發現
#idea.config.path=D:/IntelliJ IDEA/.IntelliJIdea12/config

這多了個#號啊。要把這個#號去掉打開這行配置才行 this

    這下子能夠把C盤佔用的刪除了!!!不過注意把之前配置好的轉移備份
相關文章
相關標籤/搜索