idea 默認(rèn)路徑修改從C盤更改到D盤
本文介紹如何將idea的配置文件從默認(rèn)的C盤調(diào)整到D盤,從而節(jié)省C盤使用空間。
默認(rèn)存放位置
idea配置文件默認(rèn)存放位置(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并導(dǎo)入原來的配置文件
修改配置文件后,重新啟動(dòng)idea,會(huì)彈框提示是否導(dǎo)入原配置文件,選導(dǎo)入就會(huì)把原配置文件復(fù)制到新的配置路徑下。確認(rèn)沒有問題后就可以將原配置文件刪除了以節(jié)省C盤空間。
到此這篇關(guān)于idea 默認(rèn)路徑修改從C盤更改到D盤的文章就介紹到這了,更多相關(guān)idea 默認(rèn)路徑修改內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
- Intellij idea下使用不同tomcat編譯maven項(xiàng)目的服務(wù)器路徑方法詳解
- IDEA 打開java文件對(duì)應(yīng)的class路徑的操作步驟
- IntelliJ Idea2017如何修改緩存文件的路徑
- IDEA調(diào)試源碼小技巧之辨別抽象類或接口多種實(shí)現(xiàn)類的正確路徑
- 教你如何更改IDEA項(xiàng)目的路徑
- idea啟動(dòng)與jar包啟動(dòng)中使用resource資源文件路徑的問題
- IDEA如何加載resources文件夾下文件相對(duì)路徑
- java idea如何根據(jù)請求路徑url自動(dòng)找到對(duì)應(yīng)controller方法插件
相關(guān)文章
關(guān)于Java Interface接口的簡單練習(xí)題
這篇文章主要給大家分享的是關(guān)于Java Interface接口的簡單練習(xí)題,難度不算大,但是要有一個(gè)清晰的邏輯建立接口和鏈接Java類。下面來看看文章的詳細(xì)介紹吧,需要的朋友可以參考一下2021-11-11RESTful?API設(shè)計(jì)原則與實(shí)現(xiàn)示例詳解
這篇文章主要為大家介紹了RESTful?API設(shè)計(jì)原則與實(shí)現(xiàn)示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2023-04-04Myeclipse部署Tomcat_動(dòng)力節(jié)點(diǎn)Java學(xué)院整理
這篇文章給大家介紹了Myeclipse部署Tomcat的相關(guān)知識(shí),非常不錯(cuò),具有參考借鑒價(jià)值,需要的的朋友參考下吧2017-07-07Spring Boot實(shí)現(xiàn)圖片上傳/加水印一把梭操作實(shí)例代碼
這篇文章主要給大家介紹了關(guān)于Spring Boot實(shí)現(xiàn)圖片上傳/加水印一把梭操作的相關(guān)資料,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧2018-11-11java 線程方法join簡單用法實(shí)例總結(jié)
這篇文章主要介紹了java 線程方法join簡單用法,結(jié)合實(shí)例形式總結(jié)分析了Java線程join方法的功能、原理及使用技巧,需要的朋友可以參考下2019-11-11mybatis多表查詢的實(shí)現(xiàn)(xml方式)
本文主要介紹了mybatis多表查詢的實(shí)現(xiàn)(xml方式),文中通過示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2022-03-03