zoukankan      html  css  js  c++  java
  • IntelliJ IDEA2020.1版本更新pom文件自动导包的方法

    在2020.1.1版本之前IDEA pom文件导包是这样的

    最近新装新版本IDEA之后,这个图标没有了,对于习惯旧操作没有图标了还真不习惯。就去idea官网查了下新版本maven更新

    2020.1.1使用方法:

    1、使用此通知或新的快捷方式(对于Windows为Ctrl+Shift+O,对于Mac为Linux/Shift+Cmd+I)

    2、点击修改pom后,右上角有个小pom,点击即可

    官网对于更新说明百度翻译了下。

    百度翻译(图不清楚我贴字)

    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用户带来了一个小而重要的更新。与以前的自动导入不同,现在编辑器右上角有一个浮动通知。修改生成文件后,使用此通知或新的快捷方式(对于Windows为Ctrl+Shift+O,对于Mac为Linux/Shift+Cmd+I)加载更改。它变得更好:当IntelliJ IDEA检测到在IDE外部对构建文件所做的任何更改(如VCS更新)时,它会自动重新加载相关的项目。)

    修改pom文件之后右上角会出现maven图标点击就会更新pom文件

    到此这篇关于IntelliJ IDEA2020.1版本更新pom文件自动导包的方法的文章就介绍到这了

  • 相关阅读:
    蛙蛙请教:问几个面向对象设计的问题
    推荐一些flash和asp.net结合开发的文章
    写一个跟踪的类库
    蛙蛙推荐:有关随机数的一些讨论
    蛙蛙推荐:用ASP.NET WEB Services和Flash MX 2004打造MP3播放器
    HiveQL学习
    Linux rpm 命令参数使用详解[介绍和应用]
    java.util.concurrent.locks.Condition 例子程序探讨
    [转]sudoers设置
    配置linux电脑
  • 原文地址:https://www.cnblogs.com/naimao/p/13468743.html
Copyright © 2011-2022 走看看