IntelliJ: Working on multiple projects

前端 未结 19 1950
抹茶落季
抹茶落季 2020-11-27 09:18

We build in maven multiple projects (let\'s name them A,B,C). Project A uses .jar of project B which uses .jar of project C.

I am modifying codes of all A/B/C projec

相关标签:
19条回答
  • 2020-11-27 09:39

    For who uses Gradle can also avail the same:

    Go to: 1. View --> Tool Windows --> Gradle 2. Click on the + button and add your build.gradle file

    0 讨论(0)
  • 2020-11-27 09:40

    Use the button for the add maven projects and go inside the folder of the project. Then, select the pom.xml file and add them in the IntelliJ.

    0 讨论(0)
  • 2020-11-27 09:43

    There is no need to move entire projects to a module. The use case for module is a bit finer grained than as a project container.

    To open multiple projects in the same window:

    File -> Open Project

    Select open in this window.

    Check box that says add to current project.

    0 讨论(0)
  • 2020-11-27 09:44

    Yes, your intuition was good. You shouldn't use three instances of intellij. You can open one Project and add other 'parts' of application as Modules. Add them via project browser, default hotkey is alt+1

    0 讨论(0)
  • 2020-11-27 09:51

    You can use Armory plugin which makes switching between projects comfortable. The default shortcut for Project List is Alt + A.

    By default currently opened projects are displayed at the top of this list (with bold style).

    0 讨论(0)
  • 2020-11-27 09:51

    Open preference -> appearance & behaviour -> System settings -> select (open project in new window) then apply.

    Then you could open and edit multiple projects.

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