Implicitly import module for code completion

Anonymous
2010-06-15
2013-03-15

  • Anonymous
    2010-06-15

    Is there a way to configure a Jython interpreter or the project in PyDev to implicitly import
    a module,  so that code completion in source editor can bring up list of functions and the
    builder would not flag error,  similar how it works for __builtin__?

    I tried adding the module to forced-builtin, but in source editor,
    an explicit import is still needed to see functions in the module.

    ( The use case is a custom Jython interpreter (weblogic.WLST), which would automatically provide the
    functions in the specific module (wlstModule) at runtime, without requiring user
    import it in *.py source code. )