Problem with Java imports in jython and IDEA python plugin


when I import java classes in jython using the python plugin of IDEA (version 4, build 139.129 of the plugin), then I got an error when the package name contains an "as" like in the line

from import CommandLineException

The word "as" is marked as error with the hint "Identifier expected", and dont get this as package name. I have to import all jars I want to use in the classpath of the Java SDK, or else the plugin cant resolv any of them.

Is there some way to go around the misinterpreted "as" package?


Please sign in to leave a comment.