IntelliJ 7.0.3, linux, JDK 1.6.0_04
The project is a clean project, with one external library configured containing three jars (filterbuilder.jar, htmlexer.jar and htmlparser.jar from htmlparser.sourceforge.net - latest release)
If you add a forward slash to the second commented block of code, all the right stuff gets red underlines, and the suggestion is to import org.htmlparser.beans.StringBean
Now, if you re-comment it and get it back to 'green' again, and un-comment the first block.. nothing. No suggestions, no underlines. Leaving that code uncommented, now un-comment the second block. Again, nothing.
Hovering over the little box at the top right gives me:
"Performing code analysis
No errors or warnings found so far
and it's stuck there, forever.
Now, insert a // to comment out the Parser p = new Parser() line. Everything starts working again.
What's going on?