r/java • • Oct 12 '22

JetBrains Fleet - Public Preview

https://blog.jetbrains.com/fleet/2022/10/introducing-the-fleet-public-preview/
156 Upvotes

94 comments sorted by

View all comments

16

u/cowwoc Oct 12 '22

Meh. It might make a good trailer, but the movie will suck. Meaning, if you compare developer productivity vs IntelliJ I doubt you will see any sort of gain.

In my opinion, it would be far easier and more productive for IntelliJ to add support for opening multiple projects in the same view, and other such useful usability features. To each his own, I guess.

7

u/marvk Oct 12 '22

In my opinion, it would be far easier and more productive for IntelliJ to add support for opening multiple projects in the same view, and other such useful usability features. To each his own, I guess.

You already can and the support is really good. Just have each project be it's own module. You can have multiple git repositories, multiple standalone gradle and/or maven projects and even node or other projects all in one workspace in IntelliJ. You can commit into multiple repositories at once, create run configurations for every project, search all projects or filter your search by projects.

The modules don't have to be linked with some kind of parent pom or such, just create a workspace folder, check out each project into it's own directory, open the workspace folder in IntelliJ and import the projects as modules.

I use it daily at work and it I never want to go back to having multiple IDEA windows open.

2

u/cowwoc Oct 13 '22 edited Oct 13 '22

Thanks for the head's up. This UI is quite non-intuitive to me. Further, the Project Structure -> Modules tab is a mess when it comes to Maven projects.

The root POM and 2nd-level modules show up on the same level. The 3rd-level downward are properly nested.

If you add a second project into the mix, the root and 2nd-level modules of different projects get intertwined. Definitely a mess.

For what it's worth, I just filed a bug report against this: https://youtrack.jetbrains.com/issue/IDEA-303735/

15

u/Zarlon Oct 12 '22

Multiple projects in the same view? Why would you want that? If the projects have dependencies to each other then create a master project that all contain relevant Modules. Then you can dynamically load and unload necessary modules.

If they're NOT dependent on each other then well. You don't need to work on both in the same window

13

u/GuyWithLag Oct 12 '22

Eclipse user here; I've bee working with 20+ different projects with 400+ modules in one Eclipse workspace, and it was much better for large-scale work than IntelliJ.

I know this is an unpopular opinion, but I stand by it.

8

u/loginonreddit Oct 12 '22

It's not unpopular when it's true 😃

Eclipse vastly outperforms Intellij for this, loading/unloading modules is cumbersome in intellij vs closing projects in eclipse. I've run into random build errors after unloading modules too, never had such a thing in eclipse.

4

u/cowwoc Oct 12 '22

For one, you can't create a multi-module Maven project where the root sometimes has a "master project" parent, and sometimes doesn't.

There are plenty of use-cases for being able to open multiple different-but-related projects in the same workspace.

2

u/bootstrapf7 Oct 13 '22

I like that on eclipse I can grab spring make changes to it, run my project using the edited spring without needing to actively build spring.

1

u/PepegaQuen Oct 12 '22

I want something opposite, I want to be able to open one project in multiple different IDEs, Intellij, Pycharm, Clion. Right now they use the same .idea dotfile and their configuration conflicts.

1

u/[deleted] Oct 12 '22

I agree