Intellij IDEA and Maven, disable reading pom.xml on every small change, even without a save

后端 未结 2 324
北荒
北荒 2021-01-20 06:08

This is causing intellij to become slow and freeze up which is annoying as ****.

It appears as if it analyses other files similar to pom.xml causing freezes on other

相关标签:
2条回答
  • 2021-01-20 06:32

    In Windows Operating system, Press Ctrl + Alt + S, or File\Settings\ Project Settings section.
    in section Maven:

    * Uncheck: Import Maven project automatically.

    * Section Generated sources folder:, Choose Don't Detect.

    enter image description here

    * Section Runner: Uncheck Run in background.

    enter image description here

    0 讨论(0)
  • 2021-01-20 06:34

    You can disable option in

    Settings -> Maven -> Importing -> Import Maven projects automatically

    (see intellij docs)

    And then everytime you want to reimport the pom do it in Maven Projects tool window

    0 讨论(0)
提交回复
热议问题