IntelliJ IDEA2020.1版本更新pom文件自動導包的方法
在2020.1.1版本之前IDEA pom文件導包是這樣的
最近新裝新版本IDEA之后,這個圖標沒有了,對于習慣舊操作沒有圖標了還真不習慣。就去idea官網(wǎng)查了下新版本maven更新
官網(wǎng)對于更新說明百度翻譯了下。
百度翻譯(圖不清楚我貼字)
Maven and Gradle importing updates
IntelliJ IDEA 2020.1 brings a small but important update to our Maven and Gradle users. Instead of the old auto-import, there's now a floating notification in the upper-right part of the editor. Use this notification or a new shortcut (Ctrl+Shift+O for Windows and Linux /Shift+Cmd+I for Mac) to load the changes after you modify the build file. It gets even better: when IntelliJ IDEA detects any changes to the build file made outside the IDE, such as VCS updates, it reloads the related projects automatically.
(Maven和Gradle導入更新
IntelliJ IDEA 2020.1為我們的Maven和Gradle用戶帶來了一個小而重要的更新。與以前的自動導入不同,現(xiàn)在編輯器右上角有一個浮動通知。修改生成文件后,使用此通知或新的快捷方式(對于Windows為Ctrl+Shift+O,對于Mac為Linux/Shift+Cmd+I)加載更改。它變得更好:當IntelliJ IDEA檢測到在IDE外部對構(gòu)建文件所做的任何更改(如VCS更新)時,它會自動重新加載相關(guān)的項目。)
修改pom文件之后右上角會出現(xiàn)maven圖標點擊就會更新pom文件
到此這篇關(guān)于IntelliJ IDEA2020.1版本更新pom文件自動導包的方法的文章就介紹到這了,更多相關(guān)IDEA2020.1 pom自動導包內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
springboot配置多數(shù)據(jù)源(靜態(tài)和動態(tài)數(shù)據(jù)源)
在開發(fā)過程中,很多時候都會有垮數(shù)據(jù)庫操作數(shù)據(jù)的情況,需要同時配置多套數(shù)據(jù)源,本文主要介紹了springboot配置多數(shù)據(jù)源(靜態(tài)和動態(tài)數(shù)據(jù)源),感興趣的可以了解一下2023-09-09Java實戰(zhàn)之實現(xiàn)在線小說閱讀系統(tǒng)
本文主要介紹了一個通過Java實現(xiàn)的在線電子書小說閱讀系統(tǒng),文中用到的技術(shù)有Layui、Springboot、SpringMVC、HTML、FTP、JavaScript、JQuery等,感興趣的可以試試2022-01-01