Starting second project freezes first project

Startup is slow, but when you already have a project open and start a second, the first becomes unresponsive until the new project is fully loaded.  Shouldn't the loading process be on a different UI thread?  Or shouldn't there be a set of UI threads for each project?  Or would it be easier to have an option in IntelliJ to start up a new process and JVM for each IntelliJ project?  Thank you.

Fred

1 comment
Comment actions Permalink

A couple of remarks:
In Swing there is no such thing as "a different UI thread".
Anyway I think it's also a question of modal dialogs which in Java 5 can only
block the complete application.
In Java 6 they can be modal in regard to a single parent frame, but Java 6 is
not available on all platforms, which I think is the reason that IDEA currently
uses no JDK 6 features.

In IDEA 8 I have often installed IDEA twice with completely separate ${idea.home}'s
- see idea.properties in the bin folder of the IDEA installation folder. (I usually
just unzip the zipped, non-installer version, but IIRC you can also specify
IDEA home in the installer options.)

Finally in Maia (IDEA 9 which is currently available in Early Access) you can put
most of the initial indexing in the background, so that you can in fact continue
working in the first project - and even (with some limitations in the second one).

Frederick N. Brier wrote:

Startup is slow, but when you already have a project open and start a second, the first becomes unresponsive until the new project is fully loaded. Shouldn't the loading process be on a different UI thread? Or shouldn't there be a set of UI threads for each project? Or would it be easier to have
an option in IntelliJ to start up a new process and JVM for each IntelliJ project? Thank you.

Fred

---
Original message URL: http://www.jetbrains.net/devnet/message/5242136#5242136

0

Please sign in to leave a comment.