日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪(fǎng)問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

IntelliJ IDEA2017 修改缓存文件的路径

發(fā)布時(shí)間:2023/11/29 编程问答 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 IntelliJ IDEA2017 修改缓存文件的路径 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

IDEA的緩存文件夾.IntelliJIdea2017.1,存放著IDEA的破解密碼,各個(gè)項(xiàng)目的緩存,默認(rèn)是在C盤(pán)的用戶(hù)目錄下,目前有1.5G大小。現(xiàn)在想要把它從C盤(pán)移出。


在IDEA的安裝路徑下中,進(jìn)入bin目錄后找到屬性文件:idea.properties 用記事本打開(kāi),找到如下代碼段:

1 #--------------------------------------------------------------------- 2 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 3 #--------------------------------------------------------------------- 4 # idea.config.path=${user.home}/.IntelliJIdea/config 5 6 #--------------------------------------------------------------------- 7 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 8 #--------------------------------------------------------------------- 9 # idea.system.path=${user.home}/.IntelliJIdea/system 10 11 #--------------------------------------------------------------------- 12 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. 13 #--------------------------------------------------------------------- 14 # idea.plugins.path=${idea.config.path}/plugins

?
需要注意,在IDEA2017中,默認(rèn)這些配置是注釋掉的,我在這可吃了大虧,沒(méi)想到配置沒(méi)有生效的原因是如此簡(jiǎn)單。

更改配置文件如下:

1 #--------------------------------------------------------------------- 2 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes. 3 #--------------------------------------------------------------------- 4 idea.config.path=E:/jiashubing/.IntelliJIdea/config 5 6 #--------------------------------------------------------------------- 7 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes. 8 #--------------------------------------------------------------------- 9 idea.system.path=E:/jiashubing/.IntelliJIdea/system 10 11 #--------------------------------------------------------------------- 12 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes. 13 #--------------------------------------------------------------------- 14 idea.plugins.path=${idea.config.path}/plugins

?
更改了以后重啟IDEA,會(huì)彈出如下界面Complete Installation,選擇Previous version

?

此時(shí),在目錄下生成了一個(gè).IntelliJIdea文件


此時(shí)把.IntelliJIdea2017.1刪除了也可以,原來(lái)的項(xiàng)目也都能找得到


  PS:初始緩存文件夾.IntelliJIdea2017.1的來(lái)歷,之前安裝的是IDEA2015,那時(shí)的緩存文件是.IntelliJIdea,后來(lái)將IDEA2015升級(jí)成了IDE2017,在同一個(gè)目錄下生成了這個(gè).IntelliJIdea2017.1文件夾??赡苁荌DEA內(nèi)部的某種設(shè)置,如果文件中已經(jīng)存在了.IntelliJIdea文件,就要在后面增加版本號(hào)后綴。

?

總結(jié)

以上是生活随笔為你收集整理的IntelliJ IDEA2017 修改缓存文件的路径的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。