English 中文(简体)
当只打开一个项目时, 如何将一组 Java 工程自动地装入独立的 IDE 实例中?
原标题:How to automagically load a set of Java Projects in separate IDE instances when opening only one project?
Disclaimer first: I know how to combine several Maven Projects to a multi-module project and open all of them in one IDE instance I know how to open multiple projects manually in separate windows (= multiple IDE instances) I know how to set the option for not being asked about the opening in separate windows in Intellij every single time I know about the "reopen projects on startup" option Having said that, I desperately need to know if there is a feature in the Intellij IDE to automatically open multiple projects in separate IDE instances when loading one (of the wanted) projects. I came cross this question because I had a session where I had 6 related micro service projects open in 6 instances of the Intellij IDE. Then a Windows 10 security updated did not bother that I was working and booted my machine... bummer... After the Windows desktop came back again, all of the Intellij instances opened up again automagically. As this happened alongside with the restore of other applications which had been opened before the reboot, I believe that it was done by the OS, quite surprising. The question is: how can I achieve to always have such a convenient behavior when loading my 6 service projects or any other combination of related projects? Does anybody have a good idea or can hint me to something obvious I have missed so far? I have searched the web thoroughly but I found only answers to the topics mentioned in the "disclaimer" at the beginning.
最佳回答
I recently came across a much better way of doing exactly what I need and this is available for many years without me noticing it, shame on me... It was already posted here on stackoverflow and with the correct search terms it was very easy to find. Please refer to this answer, because it still works for IntelliJ 2021+ exactly like described there: groups of projects in intellij idea Thanks to alvaro g for the great description of the procedure. The answer is: use the IntelliJ Welcome screen!
问题回答
In the meantime, Jetbrains has added the feature of "Group Projects" officially to the welcome screen. You find the ´documentation here: https://www.jetbrains.com/guide/java/tips/group-projects/




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签