IntelliJ:处理多个项目 [英] IntelliJ: Working on multiple projects

查看:87
本文介绍了IntelliJ:处理多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在maven中构建多个项目(让我们将它们命名为A,B,C)。项目A使用项目B的.jar,它使用项目C的.jar。

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.

我正在修改所有A / B / C项目的代码,(A是MVC app, B是业务服务,C是一些共享层。)

I am modifying codes of all A/B/C projects, (A is MVC app, B are business services and C is some shared layer).

事实是,在Eclipse / NetBeans中我可以同时看到所有这些,并且修改它们很舒服。但是在IDEA中,我必须打开IntelliJ IDEA的3个实例(或 n 实例)。

The thing is, in Eclipse/NetBeans I can see all of them at once and it's comfortable to modify them. In IDEA though, I have to open 3 instances (or n instances) of IntelliJ IDEA.

我错过了什么吗?使用IntelliJ时有更好的方法吗?这是IntelliJ对我来说最大的缺点。

Am I missing something? Is there better approach when using IntelliJ? This is the biggest downside of IntelliJ for me atm.

推荐答案

是的,你的直觉很好。你不应该使用intellij的三个实例。您可以打开一个项目并将其他应用程序部分添加为模块。通过项目浏览器添加它们,默认热键是alt + 1

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

这篇关于IntelliJ:处理多个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆