I'm trying to load an existing working GWT application into IntelliJ. (In fact, it was originally developed under IntelliJ, then moved to Eclipse, and now I want to move it back).
I've created the project and module OK, and added the GWT facet - no problems there. But in the source code editor what I see is this:
The package line is all in black; the two import lines have "client.net.sf.saxon.ce.om" in grey, and NodeInfo/Type in red.
The content root is the directory that has client as a subdirectory, and all the source is in the right place.
If I try to type a new import, I get autocompletion right through the directories (e.g. "client.net.sf.ce.type") but then no prompting for the final class name. It's as if IntelliJ sees all the directories but not the files within them. If I do CMD+N to search for classes like NodeInfo, it doesn't find them.
All the Java modules are visible via the project structure, they just can't see each other.
The only classes not shown in red in the source code are classes within the same package.
Using IntelliJ 10.5.2 with GWT 2.4 on Mac OS X.