Configure automatic static imports?

I have a class called Constants.java that contains a bunch of public static constants that I frequently reference in other classes.

In IntelliJ 8 or 9 there was a configuration option that allowed me to add Constants.java to a list of known classes that would be automatically searched through when looking to resolve symbols for static imports.  I believe i found it by searching for "import" in the Preferences pane.

However, I can't find that option anywhere in IntelliJ 10 EAP.  Has it disappeared?  Am I misremembering what it was called?

Cheers,
Mike

PS. I've searched through /Applications/IntelliJ*, ~/Library/Preferences/IntelliJ*, ~/Application Support/IntelliJ*, <ProjectRoot>/.idea, and <ProjectRoot>/*.i* and can't find any reference to my Constants file.  Am I dreaming?  Did I totally make this feature up?

1 comment

Just thought I'd check in and see if anyone had any solutions to this.  Android contains a lot of classes with constants, and I'd love to be able to have IntelliJ autocomplete some of those values when appropriate.

Cheers,
Mike

0

Please sign in to leave a comment.