Can I configure autocomple for this case?

2008-06-21
2013-03-15
  • Oleg Butovich

    Oleg Butovich - 2008-06-21

    I have files that doesn't have explicit import statements.. but the way of running of these files doing so that some concrete modules will be imported and visible automatically for the code in these files.. Of course if I am trying to use PyDev it cant' see import statements and of course most of the feature doesn't work.. I see just red undefined variables, classes an so on.. Is it possible to configure PyDev (or PyDev Ext) somehow to get auto-complete feature working for this case? PyDev analyzer should assume that some modules are always imported.. Could be found some workaround for that (except adding explicit import in the files..) ...? :)

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-06-26

      Humm, if you'll have no imports on a file and have tokens 'magically' appear, I think the most appropriate choce is adding the tokens directly at window > preferences > pydev > pydev extensions > code analysis > undefined.

      If that's not ok, please report back (as there are probably other ways to make it work).

      Best Regards,

      Fabio

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks