简体   繁体   English

如何在IntelliJ IDEA IDE中的一个窗口中查看多个项目?

[英]How to view multiple projects in one window in IntelliJ IDEA IDE?

In Eclipse IDE you have the concept of "workspaces" allowing you to manage/view your projects in one side pane easily and allowing you to switch between projects easily. 在Eclipse IDE中,您具有“工作空间”的概念,允许您轻松地在一个侧窗格中管理/查看项目,并允许您轻松地在项目之间切换。

As i gather IntelliJ doesn't have that feature because everytime when i open a new project it always asks to either open in a different window or same window? 因为我收集IntelliJ没有这个功能,因为每当我打开一个新项目时,它总是要求在不同的窗口或同一个窗口打开? And in the latter option it overrides my existing open project. 在后一个选项中,它会覆盖我现有的开放项目。

You're right; 你是对的; IntelliJ simply doesn't have this functionality. IntelliJ根本没有此功能。 Each project is opened in a single window, either overwriting your current window or spawning a new window. 每个项目都在一个窗口中打开,要么覆盖当前窗口,要么生成一个新窗口。

If you feel that this sort of behavior is something you want, then feel encouraged to put in a feature request on their issue tracker. 如果您认为这种行为是您想要的,那么请鼓励在其问题跟踪器上添加功能请求

You can create a new empty project and import into it the modules from the other projects. 您可以创建一个新的空项目,并将其他项目中的模块导入其中。

This works for me, although is not exactly the same as what you're trying to achieve. 这对我有用,虽然与你想要达到的目标不完全相同。 Note that you will lose (eg have to specify manually) the specific projects' settings. 请注意,您将丢失(例如必须手动指定)特定项目的设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM