idea 默認路徑修改從C盤更改到D盤
本文介紹如何將idea的配置文件從默認的C盤調(diào)整到D盤,從而節(jié)省C盤使用空間。
默認存放位置
idea配置文件默認存放位置(XXX為用戶名):
- 用戶配置:C:\Users\XXX\AppData\Local\JetBrains
- 系統(tǒng)配置:C:\Users\XXX\AppData\Roaming\JetBrains
修改配置文件
打開idea安裝目錄下/bin/idea.properties文件。修改內(nèi)容如下:
# 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). confighome=D:/Program Files/JetBrains/Config #--------------------------------------------------------------------- # 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=${confighome}/.IntelliJIdea2021.1/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=${confighome}/.IntelliJIdea2021.1/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=${idea.config.path}/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=${idea.system.path}/log
重啟IDEA并導入原來的配置文件
修改配置文件后,重新啟動idea,會彈框提示是否導入原配置文件,選導入就會把原配置文件復制到新的配置路徑下。確認沒有問題后就可以將原配置文件刪除了以節(jié)省C盤空間。
到此這篇關(guān)于idea 默認路徑修改從C盤更改到D盤的文章就介紹到這了,更多相關(guān)idea 默認路徑修改內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
關(guān)于Java Interface接口的簡單練習題
這篇文章主要給大家分享的是關(guān)于Java Interface接口的簡單練習題,難度不算大,但是要有一個清晰的邏輯建立接口和鏈接Java類。下面來看看文章的詳細介紹吧,需要的朋友可以參考一下2021-11-11RESTful?API設(shè)計原則與實現(xiàn)示例詳解
這篇文章主要為大家介紹了RESTful?API設(shè)計原則與實現(xiàn)示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪2023-04-04Myeclipse部署Tomcat_動力節(jié)點Java學院整理
這篇文章給大家介紹了Myeclipse部署Tomcat的相關(guān)知識,非常不錯,具有參考借鑒價值,需要的的朋友參考下吧2017-07-07Spring Boot實現(xiàn)圖片上傳/加水印一把梭操作實例代碼
這篇文章主要給大家介紹了關(guān)于Spring Boot實現(xiàn)圖片上傳/加水印一把梭操作的相關(guān)資料,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2018-11-11