在 Eclipse 等选项卡中拥有多个项目?[智能]

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19350723/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:55:32  来源:igfitidea点击:

Having multiple projects in tabs like Eclipse? [IntelliJ]

eclipseintellij-idea

提问by Zahand

So I just moved from Eclipse to IntelliJ after doing some research. The only thing that I miss is that in Eclipse I can have multiple projects in different tabs and compare projects easily. But in IntelliJ I have to open a project in a new window. Isn't it possible to have all the projects in the tool window like eclipse?

所以我在做了一些研究后才从 Eclipse 转移到 IntelliJ。我唯一想念的是,在 Eclipse 中,我可以在不同的选项卡中拥有多个项目并轻松比较项目。但是在 IntelliJ 中,我必须在新窗口中打开一个项目。是不是可以像eclipse一样把所有的项目都放在工具窗口里?

回答by lena

No, it's not possible. Please vote for this feature request. Note that you can add your multiple projects as modules to Intellij Idea project to be able to view them in a single frame. BTW, there is a document intended to help users migrating from Eclipse to Idea - see this FAQ- you may find it helpful

不,这不可能。请投票支持此功能请求。请注意,您可以将多个项目作为模块添加到 Intellij Idea 项目中,以便能够在单个框架中查看它们。顺便说一句,有一个文档旨在帮助用户从 Eclipse 迁移到 Idea - 请参阅此常见问题解答- 您可能会发现它很有帮助

回答by nnhthuan

There is a workaround solution. Please see here:

有一个解决方法。请看这里:

IntelliJ: Working on multiple projects

IntelliJ:处理多个项目

I'm doing the same. It worked for me really, but I get the dialog asking me for removing the imported modules because they are not in the maven structure.

我也在做同样的事情。它确实对我有用,但是我收到对话框,要求我删除导入的模块,因为它们不在 maven 结构中。

Also trying to solve this.

也在努力解决这个问题。

回答by JBA

Using Maven:a untested aproach could be to have a simple maven Project including the other Maven projects as its childs and then import the simple maven Project that only defines the others as childs (and yes - please vote for such standard features).

使用 Maven:一种未经测试的方法可能是拥有一个简单的 Maven 项目,包括其他 Maven 项目作为其子项目,然后导入仅将其他项目定义为子项目的简单 Maven 项目(是的 - 请投票支持此类标准功能)。